aboutsummaryrefslogtreecommitdiff
path: root/dev/sparktestsupport
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-01-11 12:56:43 -0800
committerJosh Rosen <joshrosen@databricks.com>2016-01-11 12:56:43 -0800
commita44991453a43615028083ba9546f5cd93112f6bd (patch)
tree7892c2a789e9ec12bdba1732e597ecbfcfc31d21 /dev/sparktestsupport
parentb313badaa049f847f33663c61cd70ee2f2cbebac (diff)
downloadspark-a44991453a43615028083ba9546f5cd93112f6bd.tar.gz
spark-a44991453a43615028083ba9546f5cd93112f6bd.tar.bz2
spark-a44991453a43615028083ba9546f5cd93112f6bd.zip
[SPARK-12734][HOTFIX] Build changes must trigger all tests; clean after install in dep tests
This patch fixes a build/test issue caused by the combination of #10672 and a latent issue in the original `dev/test-dependencies` script. First, changes which _only_ touched build files were not triggering full Jenkins runs, making it possible for a build change to be merged even though it could cause failures in other tests. The `root` build module now depends on `build`, so all tests will now be run whenever a build-related file is changed. I also added a `clean` step to the Maven install step in `dev/test-dependencies` in order to address an issue where the dummy JARs stuck around and caused "multiple assembly JARs found" errors in tests. /cc zsxwing Author: Josh Rosen <joshrosen@databricks.com> Closes #10704 from JoshRosen/fix-build-test-problems.
Diffstat (limited to 'dev/sparktestsupport')
-rw-r--r--dev/sparktestsupport/modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 1fc6596164..93a8c15e3e 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -426,7 +426,7 @@ yarn = Module(
# No other modules should directly depend on this module.
root = Module(
name="root",
- dependencies=[],
+ dependencies=[build], # Changes to build should trigger all tests.
source_file_regexes=[],
# In order to run all of the tests, enable every test profile:
build_profile_flags=list(set(