HBASE-12747 IntegrationTestMTTR will OOME if launched with mvn verify (Abhishek Singh Chouhan)
This commit is contained in:
parent
f97c00fd99
commit
200ec5b191
|
@ -35,6 +35,8 @@
|
||||||
<!-- Test inclusion patterns used by failsafe configuration -->
|
<!-- Test inclusion patterns used by failsafe configuration -->
|
||||||
<unittest.include>**/Test*.java</unittest.include>
|
<unittest.include>**/Test*.java</unittest.include>
|
||||||
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
||||||
|
<!-- To Run Tests with a particular Xmx Value use -Dfailsafe.Xmx=XXXg -->
|
||||||
|
<failsafe.Xmx>3g</failsafe.Xmx>
|
||||||
<!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
|
<!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -146,7 +148,7 @@
|
||||||
<!-- TODO: failsafe does timeout, but verify does not fail the build because of the timeout.
|
<!-- TODO: failsafe does timeout, but verify does not fail the build because of the timeout.
|
||||||
I believe it is a failsafe bug, we may consider using surefire -->
|
I believe it is a failsafe bug, we may consider using surefire -->
|
||||||
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
|
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
|
||||||
<argLine>-enableassertions -Xmx1900m
|
<argLine>-enableassertions -Xmx${failsafe.Xmx}
|
||||||
-Djava.security.egd=file:/dev/./urandom</argLine>
|
-Djava.security.egd=file:/dev/./urandom</argLine>
|
||||||
<testFailureIgnore>false</testFailureIgnore>
|
<testFailureIgnore>false</testFailureIgnore>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
7
pom.xml
7
pom.xml
|
@ -1086,11 +1086,14 @@
|
||||||
<test.output.tofile>true</test.output.tofile>
|
<test.output.tofile>true</test.output.tofile>
|
||||||
<surefire.timeout>900</surefire.timeout>
|
<surefire.timeout>900</surefire.timeout>
|
||||||
<test.exclude.pattern></test.exclude.pattern>
|
<test.exclude.pattern></test.exclude.pattern>
|
||||||
<hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m
|
<!-- default Xmx value is 1900m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
|
||||||
|
<surefire.Xmx>1900m</surefire.Xmx>
|
||||||
|
<surefire.cygwinXmx>1900m</surefire.cygwinXmx>
|
||||||
|
<hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx${surefire.Xmx}
|
||||||
-XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
-XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
||||||
-Djava.awt.headless=true
|
-Djava.awt.headless=true
|
||||||
</hbase-surefire.argLine>
|
</hbase-surefire.argLine>
|
||||||
<hbase-surefire.cygwin-argline>-enableassertions -Xmx1900m -XX:MaxPermSize=256m
|
<hbase-surefire.cygwin-argline>-enableassertions -Xmx${surefire.cygwinXmx} -XX:MaxPermSize=256m
|
||||||
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
||||||
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
|
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
|
||||||
</hbase-surefire.cygwin-argline>
|
</hbase-surefire.cygwin-argline>
|
||||||
|
|
Loading…
Reference in New Issue