You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/07/20 09:09:10 UTC
[2/2] camel git commit: CAMEL-11144: Only run tests by default that
dont do networking.
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 <da...@apache.org>
Authored: Thu Jul 20 11:08:57 2017 +0200
Committer: Claus Ibsen <da...@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>