beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] incubator-beam git commit: Run NeedsRunner tests in Runner Core on the DirectRunner
Date Wed, 15 Jun 2016 20:55:27 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 9c8cf5e21 -> 462453d23


Run NeedsRunner tests in Runner Core on the DirectRunner

This ensures that all runner tests in runners/core-java are executed in
the standard maven build.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/fee73d3d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/fee73d3d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/fee73d3d

Branch: refs/heads/master
Commit: fee73d3d04d4656e5654cc4205f40d9e371e80f4
Parents: 9c8cf5e
Author: Thomas Groh <tgroh@google.com>
Authored: Wed Jun 15 12:01:56 2016 -0700
Committer: Dan Halperin <dhalperi@google.com>
Committed: Wed Jun 15 13:55:17 2016 -0700

----------------------------------------------------------------------
 runners/core-java/pom.xml   | 13 +++++++++++++
 runners/direct-java/pom.xml |  1 +
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/fee73d3d/runners/core-java/pom.xml
----------------------------------------------------------------------
diff --git a/runners/core-java/pom.xml b/runners/core-java/pom.xml
index cd8c2d1..8ede60b 100644
--- a/runners/core-java/pom.xml
+++ b/runners/core-java/pom.xml
@@ -41,6 +41,19 @@
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludedGroups>
+            org.apache.beam.sdk.testing.NeedsRunner
+          </excludedGroups>
+          <systemPropertyVariables>
+            <beamUseDummyRunner>true</beamUseDummyRunner>
+          </systemPropertyVariables>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           <execution>

http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/fee73d3d/runners/direct-java/pom.xml
----------------------------------------------------------------------
diff --git a/runners/direct-java/pom.xml b/runners/direct-java/pom.xml
index b2cb607..8667aee 100644
--- a/runners/direct-java/pom.xml
+++ b/runners/direct-java/pom.xml
@@ -97,6 +97,7 @@
               <failIfNoTests>true</failIfNoTests>
               <dependenciesToScan>
                 <dependency>org.apache.beam:beam-sdks-java-core</dependency>
+                <dependency>org.apache.beam:beam-runners-java-core</dependency>
               </dependenciesToScan>
               <systemPropertyVariables>
                 <beamTestPipelineOptions>


Mime
View raw message