You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/11/03 06:09:32 UTC

svn commit: r1538316 - in /myfaces/core/trunk: api/pom.xml impl/pom.xml shared/pom.xml

Author: lu4242
Date: Sun Nov  3 05:09:31 2013
New Revision: 1538316

URL: http://svn.apache.org/r1538316
Log:
allow parallel testing for faster build time

Modified:
    myfaces/core/trunk/api/pom.xml
    myfaces/core/trunk/impl/pom.xml
    myfaces/core/trunk/shared/pom.xml

Modified: myfaces/core/trunk/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/pom.xml?rev=1538316&r1=1538315&r2=1538316&view=diff
==============================================================================
--- myfaces/core/trunk/api/pom.xml (original)
+++ myfaces/core/trunk/api/pom.xml Sun Nov  3 05:09:31 2013
@@ -424,6 +424,9 @@
                             <goal>test</goal>
                         </goals>
                         <configuration>
+                            <parallel>classes</parallel>
+                            <threadCount>4</threadCount>
+                            <perCoreThreadCount>true</perCoreThreadCount>
                             <testNGArtifactName>none:none</testNGArtifactName>
                             <!-- Exclude all TestNG tests -->
                             <excludes>

Modified: myfaces/core/trunk/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/pom.xml?rev=1538316&r1=1538315&r2=1538316&view=diff
==============================================================================
--- myfaces/core/trunk/impl/pom.xml (original)
+++ myfaces/core/trunk/impl/pom.xml Sun Nov  3 05:09:31 2013
@@ -515,6 +515,9 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <!-- Only run JUnit tests -->
+                    <parallel>classes</parallel>
+                    <threadCount>4</threadCount>
+                    <perCoreThreadCount>true</perCoreThreadCount>
                     <testNGArtifactName>none:none</testNGArtifactName>
                     <excludes>
                         <exclude>**/JspStateManagerImplTest*</exclude>
@@ -531,7 +534,9 @@
                             <goal>test</goal>
                         </goals>
                         <configuration>
-                            <forkMode>always</forkMode>
+                            <!-- <forkMode>always</forkMode> -->
+                            <forkCount>1</forkCount>
+                            <reuseForks>false</reuseForks>
                             <testNGArtifactName>none:none</testNGArtifactName>
                             <includes>
                                 <include>**/FactoryFinderProviderTest*</include>

Modified: myfaces/core/trunk/shared/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/shared/pom.xml?rev=1538316&r1=1538315&r2=1538316&view=diff
==============================================================================
--- myfaces/core/trunk/shared/pom.xml (original)
+++ myfaces/core/trunk/shared/pom.xml Sun Nov  3 05:09:31 2013
@@ -221,17 +221,14 @@
           </configuration>
       </plugin>
       
-      <!-- 
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.1.2</version>
         <configuration>
-          <excludes>
-            <exclude>**/*StateUtilsAES_CBCTest*</exclude>
-          </excludes>
+          <parallel>classes</parallel>
+          <threadCount>4</threadCount>
+          <perCoreThreadCount>true</perCoreThreadCount>
         </configuration>
       </plugin>
-       -->
     </plugins>
   </build>
   <profiles>