beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [04/50] [abbrv] incubator-beam git commit: Run NeedsRunner tests in Runner Core on the DirectRunner
Date Mon, 20 Jun 2016 22:15:57 GMT
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/6ada1a63
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/6ada1a63
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/6ada1a63

Branch: refs/heads/python-sdk
Commit: 6ada1a635382fcddc42a7580e74e755839f7172e
Parents: d5e3dfa
Author: Thomas Groh <tgroh@google.com>
Authored: Wed Jun 15 12:01:56 2016 -0700
Committer: Davor Bonaci <davor@google.com>
Committed: Mon Jun 20 15:14:28 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/6ada1a63/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/6ada1a63/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