beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [46/50] incubator-beam git commit: move integration tests to profile
Date Thu, 25 Aug 2016 18:56:00 GMT
move integration tests to profile


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

Branch: refs/heads/gearpump-runner
Commit: 1672b5483e029292816397248dc6fe63bf51f4af
Parents: 2a0ba61
Author: manuzhang <owenzhang1990@gmail.com>
Authored: Sat Jul 23 14:10:15 2016 +0800
Committer: Kenneth Knowles <klk@google.com>
Committed: Thu Aug 25 11:37:17 2016 -0700

----------------------------------------------------------------------
 runners/gearpump/pom.xml | 107 ++++++++++++++++++++++++------------------
 1 file changed, 61 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/1672b548/runners/gearpump/pom.xml
----------------------------------------------------------------------
diff --git a/runners/gearpump/pom.xml b/runners/gearpump/pom.xml
index c725dae..85994ad 100644
--- a/runners/gearpump/pom.xml
+++ b/runners/gearpump/pom.xml
@@ -57,6 +57,67 @@
     </repository>
   </repositories>
 
+  <profiles>
+    <profile>
+      <id>local-runnable-on-service-tests</id>
+      <activation><activeByDefault>false</activeByDefault></activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>2.19.1</version>
+            <executions>
+              <execution>
+                <id>runnable-on-service-tests</id>
+                <configuration>
+                  <groups>org.apache.beam.sdk.testing.RunnableOnService</groups>
+                  <parallel>none</parallel>
+                  <failIfNoTests>true</failIfNoTests>
+                  <dependenciesToScan>
+                    <dependency>org.apache.beam:beam-sdks-java-core</dependency>
+                    <dependency>org.apache.beam:beam-runners-java-core</dependency>
+                  </dependenciesToScan>
+                  <excludes>
+                    <!-- side input is not supported in Gearpump -->
+                    <exclude>
+                      org.apache.beam.sdk.io.BigQueryIOTest,
+                      org.apache.beam.sdk.io.CountingInputTest,
+                      org.apache.beam.sdk.io.CountingSourceTest,
+                      org.apache.beam.sdk.testing.PAssertTest,
+                      org.apache.beam.sdk.transforms.ApproximateUniqueTest,
+                      org.apache.beam.sdk.transforms.CombineTest,
+                      org.apache.beam.sdk.transforms.CombineFnsTest,
+                      org.apache.beam.sdk.transforms.CountTest,
+                      org.apache.beam.sdk.transforms.FlattenTest,
+                      org.apache.beam.sdk.transforms.ParDoTest,
+                      org.apache.beam.sdk.transforms.SampleTest,
+                      org.apache.beam.sdk.transforms.ViewTest,
+                      org.apache.beam.sdk.transforms.join.CoGroupByKeyTest
+                    </exclude>
+                    <!-- merging windows is not supported in Gearpump -->
+                    <exclude>
+                      org.apache.beam.sdk.transforms.windowing.WindowingTest,
+                      org.apache.beam.sdk.util.ReshuffleTest
+                    </exclude>
+                  </excludes>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--runner=TestGearpumpRunner",
+                      "--streaming=true"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.gearpump</groupId>
@@ -228,52 +289,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.19.1</version>
-        <executions>
-          <execution>
-            <id>runnable-on-service-tests</id>
-            <configuration>
-              <groups>org.apache.beam.sdk.testing.RunnableOnService</groups>
-              <parallel>none</parallel>
-              <failIfNoTests>true</failIfNoTests>
-              <dependenciesToScan>
-                <dependency>org.apache.beam:beam-sdks-java-core</dependency>
-                <dependency>org.apache.beam:beam-runners-java-core</dependency>
-              </dependenciesToScan>
-              <excludes>
-                <!-- side input is not supported in Gearpump -->
-                <exclude>
-                  org.apache.beam.sdk.io.BigQueryIOTest,
-                  org.apache.beam.sdk.io.CountingInputTest,
-                  org.apache.beam.sdk.io.CountingSourceTest,
-                  org.apache.beam.sdk.testing.PAssertTest,
-                  org.apache.beam.sdk.transforms.ApproximateUniqueTest,
-                  org.apache.beam.sdk.transforms.CombineTest,
-                  org.apache.beam.sdk.transforms.CombineFnsTest,
-                  org.apache.beam.sdk.transforms.CountTest,
-                  org.apache.beam.sdk.transforms.FlattenTest,
-                  org.apache.beam.sdk.transforms.ParDoTest,
-                  org.apache.beam.sdk.transforms.SampleTest,
-                  org.apache.beam.sdk.transforms.ViewTest,
-                  org.apache.beam.sdk.transforms.join.CoGroupByKeyTest
-                </exclude>
-                <!-- merging windows is not supported in Gearpump -->
-                <exclude>
-                  org.apache.beam.sdk.transforms.windowing.WindowingTest,
-                  org.apache.beam.sdk.util.ReshuffleTest
-                </exclude>
-              </excludes>
-              <systemPropertyVariables>
-                <beamTestPipelineOptions>
-                  [
-                  "--runner=TestGearpumpRunner",
-                  "--streaming=true"
-                  ]
-                </beamTestPipelineOptions>
-              </systemPropertyVariables>
-            </configuration>
-          </execution>
-        </executions>
       </plugin>
 
       <!-- uber jar -->


Mime
View raw message