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:52:33 UTC
svn commit: r1569936 - /hbase/branches/0.98/pom.xml
Author: apurtell
Date: Wed Feb 19 21:52:33 2014
New Revision: 1569936
URL: http://svn.apache.org/r1569936
Log:
HBASE-10570 Allow overrides of Surefire secondPartForkMode and testFailureIgnore
Modified:
hbase/branches/0.98/pom.xml
Modified: hbase/branches/0.98/pom.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/pom.xml?rev=1569936&r1=1569935&r2=1569936&view=diff
==============================================================================
--- hbase/branches/0.98/pom.xml (original)
+++ hbase/branches/0.98/pom.xml Wed Feb 19 21:52:33 2014
@@ -507,7 +507,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>
@@ -521,8 +521,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>
@@ -943,10 +943,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>