Repository: curator
Updated Branches:
  refs/heads/master f8aabb0bc -> 7d30d3d19


CURATOR-142 Make forkCount configurable

Value can be set on the command line by invocing as:
mvn test -Dsurefire-forkcount=4 # Or whatever number you like

This closes #40


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

Branch: refs/heads/master
Commit: 72934da915db7722af73087b06a16f4c9de2b66a
Parents: 0d1397a
Author: Mike Drob <md...@cloudera.com>
Authored: Wed Aug 20 13:05:06 2014 -0500
Committer: Mike Drob <md...@cloudera.com>
Committed: Wed Aug 20 13:05:45 2014 -0500

----------------------------------------------------------------------
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/72934da9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 60e718c..8abdca8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,6 +58,8 @@
 
         <jdk-version>1.6</jdk-version>
 
+        <surefire-forkcount>1</surefire-forkcount>
+
         <!-- versions -->
         
<maven-project-info-reports-plugin-version>2.7</maven-project-info-reports-plugin-version>
         <maven-javadoc-plugin-version>2.9.1</maven-javadoc-plugin-version>
@@ -669,7 +671,7 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkCount>1</forkCount>
+                    <forkCount>${surefire-forkcount}</forkCount>
                     <reuseForks>false</reuseForks>
                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
                 </configuration>

Reply via email to