Skip to content

Commit 71f0f51

Browse files
committed
[SPARK-5699] [SQL] [Tests] Runs hive-thriftserver tests whenever SQL code is modified
<!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4486) <!-- Reviewable:end --> Author: Cheng Lian <[email protected]> Closes #4486 from liancheng/spark-5699 and squashes the following commits: 538001d [Cheng Lian] Runs hive-thriftserver tests whenever SQL code is modified (cherry picked from commit 3ec3ad2) Signed-off-by: Cheng Lian <[email protected]>
1 parent e2bf59a commit 71f0f51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/run-tests

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function handle_error () {
3636
}
3737

3838

39-
# Build against the right verison of Hadoop.
39+
# Build against the right version of Hadoop.
4040
{
4141
if [ -n "$AMPLAB_JENKINS_BUILD_PROFILE" ]; then
4242
if [ "$AMPLAB_JENKINS_BUILD_PROFILE" = "hadoop1.0" ]; then
@@ -77,7 +77,7 @@ export SBT_MAVEN_PROFILES_ARGS="$SBT_MAVEN_PROFILES_ARGS -Pkinesis-asl"
7777
fi
7878
}
7979

80-
# Only run Hive tests if there are sql changes.
80+
# Only run Hive tests if there are SQL changes.
8181
# Partial solution for SPARK-1455.
8282
if [ -n "$AMPLAB_JENKINS" ]; then
8383
git fetch origin master:master
@@ -183,7 +183,7 @@ CURRENT_BLOCK=$BLOCK_SPARK_UNIT_TESTS
183183
if [ -n "$_SQL_TESTS_ONLY" ]; then
184184
# This must be an array of individual arguments. Otherwise, having one long string
185185
# will be interpreted as a single test, which doesn't work.
186-
SBT_MAVEN_TEST_ARGS=("catalyst/test" "sql/test" "hive/test" "mllib/test")
186+
SBT_MAVEN_TEST_ARGS=("catalyst/test" "sql/test" "hive/test" "hive-thriftserver/test" "mllib/test")
187187
else
188188
SBT_MAVEN_TEST_ARGS=("test")
189189
fi

0 commit comments

Comments
 (0)