You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/06/19 21:26:18 UTC

svn commit: r1351807 - /maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java

Author: krosenvold
Date: Tue Jun 19 19:26:18 2012
New Revision: 1351807

URL: http://svn.apache.org/viewvc?rev=1351807&view=rev
Log:
[SUREFIRE-869] Parallel test execution on class level runs not all tests but some twice

Fix suggested by Guillermo GARCIA OCHOA

Modified:
    maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java

Modified: maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java?rev=1351807&r1=1351806&r2=1351807&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java (original)
+++ maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java Tue Jun 19 19:26:18 2012
@@ -157,7 +157,8 @@ public class ForkStarter
                     public RunResult call()
                         throws Exception
                     {
-                        return fork( testSet, properties, forkClient, fileReporterFactory.getGlobalRunStatistics() );
+                        return fork( testSet, (Properties) properties.clone(), forkClient,
+                                     fileReporterFactory.getGlobalRunStatistics() );
                     }
                 };
                 results.add( executorService.submit( pf ) );