You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2014/02/19 22:50:43 UTC
svn commit: r1569935 - /hbase/trunk/pom.xml
Author: apurtell
Date: Wed Feb 19 21:50:42 2014
New Revision: 1569935
URL: http://svn.apache.org/r1569935
Log:
HBASE-10570 Allow overrides of Surefire secondPartForkMode and testFailureIgnore
Modified:
hbase/trunk/pom.xml
Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1569935&r1=1569934&r2=1569935&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Wed Feb 19 21:50:42 2014
@@ -515,7 +515,7 @@
<parallel>classes</parallel>
<!-- surefire hack, if not we're
using method parallelization class ! -->
- <testFailureIgnore>false</testFailureIgnore>
+ <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions -Xmx1900m -XX:MaxPermSize=100m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true</argLine>
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
@@ -529,8 +529,8 @@
</goals>
<configuration>
<skip>${surefire.skipSecondPart}</skip>
- <testFailureIgnore>false</testFailureIgnore>
- <forkMode>perThread</forkMode>
+ <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
+ <forkMode>${surefire.secondPartForkMode}</forkMode>
<perCoreThreadCount>false</perCoreThreadCount>
<threadCount>${surefire.secondPartThreadCount}</threadCount>
<parallel>classes</parallel>
@@ -953,10 +953,12 @@
<surefire.skipSecondPart>false</surefire.skipSecondPart>
<surefire.firstPartForkMode>once</surefire.firstPartForkMode>
<surefire.firstPartParallel>classes</surefire.firstPartParallel>
+ <surefire.secondPartForkMode>perThread</surefire.secondPartForkMode>
<surefire.firstPartThreadCount>1</surefire.firstPartThreadCount>
<surefire.secondPartThreadCount>2</surefire.secondPartThreadCount>
<surefire.firstPartGroups>org.apache.hadoop.hbase.SmallTests</surefire.firstPartGroups>
<surefire.secondPartGroups>org.apache.hadoop.hbase.MediumTests</surefire.secondPartGroups>
+ <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
<test.output.tofile>true</test.output.tofile>
<surefire.timeout>900</surefire.timeout>
</properties>