[SPARK-10300] [BUILD] [TESTS] Add support for test tags in run-tests.py. This change does two things:
- tag a few tests and adds the mechanism in the build to be able to disable those tags, both in maven and sbt, for both junit and scalatest suites. - add some logic to run-tests.py to disable some tags depending on what files have changed; that's used to disable expensive tests when a module hasn't explicitly been changed, to speed up testing for changes that don't directly affect those modules. Author: Marcelo Vanzin <van...@cloudera.com> Closes #8437 from vanzin/test-tags. Project: http://git-wip-us.apache.org/repos/asf/bahir/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/762497f3 Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/762497f3 Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/762497f3 Branch: refs/heads/master Commit: 762497f3c3547b0460eccfdfa90fdd609a35b7a4 Parents: e59132d Author: Marcelo Vanzin <van...@cloudera.com> Authored: Tue Sep 15 10:45:02 2015 -0700 Committer: Marcelo Vanzin <van...@cloudera.com> Committed: Tue Sep 15 10:45:02 2015 -0700 ---------------------------------------------------------------------- streaming-mqtt/pom.xml | 10 ---------- streaming-twitter/pom.xml | 10 ---------- streaming-zeromq/pom.xml | 10 ---------- 3 files changed, 30 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir/blob/762497f3/streaming-mqtt/pom.xml ---------------------------------------------------------------------- diff --git a/streaming-mqtt/pom.xml b/streaming-mqtt/pom.xml index 05e6338..913c47d 100644 --- a/streaming-mqtt/pom.xml +++ b/streaming-mqtt/pom.xml @@ -59,16 +59,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.novocode</groupId> - <artifactId>junit-interface</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.7.0</version> http://git-wip-us.apache.org/repos/asf/bahir/blob/762497f3/streaming-twitter/pom.xml ---------------------------------------------------------------------- diff --git a/streaming-twitter/pom.xml b/streaming-twitter/pom.xml index 244ad58..9137bf2 100644 --- a/streaming-twitter/pom.xml +++ b/streaming-twitter/pom.xml @@ -58,16 +58,6 @@ <artifactId>scalacheck_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.novocode</groupId> - <artifactId>junit-interface</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory> http://git-wip-us.apache.org/repos/asf/bahir/blob/762497f3/streaming-zeromq/pom.xml ---------------------------------------------------------------------- diff --git a/streaming-zeromq/pom.xml b/streaming-zeromq/pom.xml index 171df86..6fec4f0 100644 --- a/streaming-zeromq/pom.xml +++ b/streaming-zeromq/pom.xml @@ -57,16 +57,6 @@ <artifactId>scalacheck_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.novocode</groupId> - <artifactId>junit-interface</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>