aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2015-02-09 16:52:05 -0800
committerCheng Lian <lian@databricks.com>2015-02-09 16:52:05 -0800
commit3ec3ad295ddd1435da68251b7479ffb60aec7037 (patch)
tree5170410fc41188ba5d64500b60ee115fc36c5402 /dev/run-tests
parentd08e7c2b498584609cb3c7922eaaa2a0d115603f (diff)
downloadspark-3ec3ad295ddd1435da68251b7479ffb60aec7037.tar.gz
spark-3ec3ad295ddd1435da68251b7479ffb60aec7037.tar.bz2
spark-3ec3ad295ddd1435da68251b7479ffb60aec7037.zip
[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 <lian@databricks.com> Closes #4486 from liancheng/spark-5699 and squashes the following commits: 538001d [Cheng Lian] Runs hive-thriftserver tests whenever SQL code is modified
Diffstat (limited to 'dev/run-tests')
-rwxr-xr-xdev/run-tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/run-tests b/dev/run-tests
index 2257a566bb..483958757a 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -36,7 +36,7 @@ function handle_error () {
}
-# Build against the right verison of Hadoop.
+# Build against the right version of Hadoop.
{
if [ -n "$AMPLAB_JENKINS_BUILD_PROFILE" ]; then
if [ "$AMPLAB_JENKINS_BUILD_PROFILE" = "hadoop1.0" ]; then
@@ -77,7 +77,7 @@ export SBT_MAVEN_PROFILES_ARGS="$SBT_MAVEN_PROFILES_ARGS -Pkinesis-asl"
fi
}
-# Only run Hive tests if there are sql changes.
+# Only run Hive tests if there are SQL changes.
# Partial solution for SPARK-1455.
if [ -n "$AMPLAB_JENKINS" ]; then
git fetch origin master:master
@@ -183,7 +183,7 @@ CURRENT_BLOCK=$BLOCK_SPARK_UNIT_TESTS
if [ -n "$_SQL_TESTS_ONLY" ]; then
# This must be an array of individual arguments. Otherwise, having one long string
# will be interpreted as a single test, which doesn't work.
- SBT_MAVEN_TEST_ARGS=("catalyst/test" "sql/test" "hive/test" "mllib/test")
+ SBT_MAVEN_TEST_ARGS=("catalyst/test" "sql/test" "hive/test" "hive-thriftserver/test" "mllib/test")
else
SBT_MAVEN_TEST_ARGS=("test")
fi