diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-04-17 17:24:00 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-17 17:24:00 -0700 |
commit | 6c746ba3a921364405b58c0c5621c6c517572500 (patch) | |
tree | 93ce2f406c239e992725115789d9cdfe50ab23c8 /python/run-tests | |
parent | 0058b5d2c74147d24b127a5432f89ebc7050dc18 (diff) | |
download | spark-6c746ba3a921364405b58c0c5621c6c517572500.tar.gz spark-6c746ba3a921364405b58c0c5621c6c517572500.tar.bz2 spark-6c746ba3a921364405b58c0c5621c6c517572500.zip |
FIX: Don't build Hive in assembly unless running Hive tests.
This will make the tests more stable when not running SQL tests.
Author: Patrick Wendell <pwendell@gmail.com>
Closes #439 from pwendell/hive-tests and squashes the following commits:
88a6032 [Patrick Wendell] FIX: Don't build Hive in assembly unless running Hive tests.
Diffstat (limited to 'python/run-tests')
-rwxr-xr-x | python/run-tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/run-tests b/python/run-tests index 7bbf10d05a..36a96121cb 100755 --- a/python/run-tests +++ b/python/run-tests @@ -49,7 +49,9 @@ function run_test() { run_test "pyspark/rdd.py" run_test "pyspark/context.py" run_test "pyspark/conf.py" -run_test "pyspark/sql.py" +if [ -n "$_RUN_SQL_TESTS" ]; then + run_test "pyspark/sql.py" +fi run_test "-m doctest pyspark/broadcast.py" run_test "-m doctest pyspark/accumulators.py" run_test "-m doctest pyspark/serializers.py" |