camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: CAMEL-11144: Only run tests by default that dont do networking.
Date Thu, 20 Jul 2017 09:09:10 GMT
CAMEL-11144: Only run tests by default that dont do networking.


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

Branch: refs/heads/master
Commit: b884160531eb46da51f90509240b5e1cfa5bdc24
Parents: 4371132
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jul 20 11:08:57 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jul 20 11:08:57 2017 +0200

----------------------------------------------------------------------
 components/camel-milo/pom.xml | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b8841605/components/camel-milo/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-milo/pom.xml b/components/camel-milo/pom.xml
index e8e3a4c..43e68e3 100644
--- a/components/camel-milo/pom.xml
+++ b/components/camel-milo/pom.xml
@@ -97,11 +97,42 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <!-- required due to issue eclipse/milo#23 -->
-          <reuseForks>false</reuseForks>
+          <childDelegation>false</childDelegation>
+          <useFile>true</useFile>
+          <forkCount>1</forkCount>
+          <reuseForks>true</reuseForks>
+          <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+          <includes>
+            <!-- Here we only run one test -->
+            <include>**/ConverterTest.java</include>
+          </includes>
         </configuration>
       </plugin>
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>milo-test</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <childDelegation>false</childDelegation>
+              <useFile>true</useFile>
+              <forkCount>1</forkCount>
+              <!-- required due to issue eclipse/milo#23 -->
+              <reuseForks>false</reuseForks>
+              <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+              <includes>
+                <include>**/*Test.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>


Mime
View raw message