aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests
diff options
context:
space:
mode:
authorBrennon York <brennon.york@capitalone.com>2015-03-24 10:33:04 +0000
committerSean Owen <sowen@cloudera.com>2015-03-24 10:33:04 +0000
commit37fac1dcd2b0f2845d2952a417fcf85d40351f57 (patch)
treeaaccba9616ca841baf6212d3e9d90eca76c91d3d /dev/run-tests
parent1afcf773d0cafdfd9bf106fdc5c429ed2ba3dd36 (diff)
downloadspark-37fac1dcd2b0f2845d2952a417fcf85d40351f57.tar.gz
spark-37fac1dcd2b0f2845d2952a417fcf85d40351f57.tar.bz2
spark-37fac1dcd2b0f2845d2952a417fcf85d40351f57.zip
[SPARK-6477][Build]: Run MIMA tests before the Spark test suite
This moves the MIMA checks to before the full Spark test suite such that, if new PR's fail the MIMA check, they will return much faster having not run the entire test suite. This is preferable to the current scenario where a user would have to wait until the entire test suite completes before realizing it failed on a MIMA check in which case, once the MIMA issues are fixed, the user would have to resubmit and rerun the full test suite again. Author: Brennon York <brennon.york@capitalone.com> Closes #5145 from brennonyork/SPARK-6477 and squashes the following commits: 12b0aee [Brennon York] updated to put the mima checks before the spark test suite
Diffstat (limited to 'dev/run-tests')
-rwxr-xr-xdev/run-tests18
1 files changed, 9 insertions, 9 deletions
diff --git a/dev/run-tests b/dev/run-tests
index d6935a61c6..561d7fc9e7 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -180,6 +180,15 @@ CURRENT_BLOCK=$BLOCK_BUILD
echo ""
echo "========================================================================="
+echo "Detecting binary incompatibilities with MiMa"
+echo "========================================================================="
+
+CURRENT_BLOCK=$BLOCK_MIMA
+
+./dev/mima
+
+echo ""
+echo "========================================================================="
echo "Running Spark unit tests"
echo "========================================================================="
@@ -227,12 +236,3 @@ echo "========================================================================="
CURRENT_BLOCK=$BLOCK_PYSPARK_UNIT_TESTS
./python/run-tests
-
-echo ""
-echo "========================================================================="
-echo "Detecting binary incompatibilities with MiMa"
-echo "========================================================================="
-
-CURRENT_BLOCK=$BLOCK_MIMA
-
-./dev/mima