HBASE-12160 Make Surefire's argLine configurable in the command line
This commit is contained in:
parent
74c4dbdf39
commit
0a3c24f601
12
pom.xml
12
pom.xml
|
@ -527,7 +527,7 @@
|
|||
<testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
|
||||
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
|
||||
<!--Allocate some direct memory for direct memory tests-->
|
||||
<argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true</argLine>
|
||||
<argLine>${hbase-surefire.argLine}</argLine>
|
||||
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
@ -973,6 +973,14 @@
|
|||
<surefire.testFailureIgnore>false</surefire.testFailureIgnore>
|
||||
<test.output.tofile>true</test.output.tofile>
|
||||
<surefire.timeout>900</surefire.timeout>
|
||||
<hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m
|
||||
-XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
||||
-Djava.awt.headless=true
|
||||
</hbase-surefire.argLine>
|
||||
<hbase-surefire.cygwin-argline>-enableassertions -Xmx1900m -XX:MaxPermSize=256m
|
||||
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
||||
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
|
||||
</hbase-surefire.cygwin-argline>
|
||||
</properties>
|
||||
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
||||
<dependencyManagement>
|
||||
|
@ -1475,7 +1483,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>-enableassertions -Xmx1900m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true "-Djava.library.path=${hadoop.library.path};${java.library.path}"</argLine>
|
||||
<argLine>${hbase-surefire.cygwin-argline}</argLine>
|
||||
<systemProperties>
|
||||
<property>
|
||||
<name>java.net.preferIPv4Stack</name>
|
||||
|
|
Loading…
Reference in New Issue