diff options
author | Sean Owen <sowen@cloudera.com> | 2015-01-06 12:02:08 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-01-06 12:02:08 -0800 |
commit | 4cba6eb42031b1a4cc3308833116ca5d9ccb1a89 (patch) | |
tree | 0d0a6e192ce742543f6c1ef05c61360930653a01 /network/shuffle | |
parent | 5e3ec1110495899a298313c4aa9c6c151c1f54da (diff) | |
download | spark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.tar.gz spark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.tar.bz2 spark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.zip |
SPARK-4159 [CORE] Maven build doesn't run JUnit test suites
This PR:
- Reenables `surefire`, and copies config from `scalatest` (which is itself an old fork of `surefire`, so similar)
- Tells `surefire` to test only Java tests
- Enables `surefire` and `scalatest` for all children, and in turn eliminates some duplication.
For me this causes the Scala and Java tests to be run once each, it seems, as desired. It doesn't affect the SBT build but works for Maven. I still need to verify that all of the Scala tests and Java tests are being run.
Author: Sean Owen <sowen@cloudera.com>
Closes #3651 from srowen/SPARK-4159 and squashes the following commits:
2e8a0af [Sean Owen] Remove specialized SPARK_HOME setting for REPL, YARN tests as it appears to be obsolete
12e4558 [Sean Owen] Append to unit-test.log instead of overwriting, so that both surefire and scalatest output is preserved. Also standardize/correct comments a bit.
e6f8601 [Sean Owen] Reenable Java tests by reenabling surefire with config cloned from scalatest; centralize test config in the parent
Diffstat (limited to 'network/shuffle')
-rw-r--r-- | network/shuffle/pom.xml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/network/shuffle/pom.xml b/network/shuffle/pom.xml index 12468567c3..5bfa1ac9c3 100644 --- a/network/shuffle/pom.xml +++ b/network/shuffle/pom.xml @@ -83,11 +83,6 @@ <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.binary.version}</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> |