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:59:52 UTC
svn commit: r1569938 - /hbase/branches/0.96/pom.xml
Author: apurtell
Date: Wed Feb 19 21:59:52 2014
New Revision: 1569938
URL: http://svn.apache.org/r1569938
Log:
HBASE-10570 Allow overrides of Surefire secondPartForkMode and testFailureIgnore
Modified:
hbase/branches/0.96/pom.xml
Modified: hbase/branches/0.96/pom.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/pom.xml?rev=1569938&r1=1569937&r2=1569938&view=diff
==============================================================================
--- hbase/branches/0.96/pom.xml (original)
+++ hbase/branches/0.96/pom.xml Wed Feb 19 21:59:52 2014
@@ -478,7 +478,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>
@@ -492,8 +492,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>
@@ -914,10 +914,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>