HBASE-12709 [mvn] Add unit test excludes command line flag to the build
This commit is contained in:
parent
1c45d1cd9d
commit
0d5f967c7f
8
pom.xml
8
pom.xml
|
@ -513,6 +513,13 @@
|
|||
<systemPropertyVariables>
|
||||
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
|
||||
</systemPropertyVariables>
|
||||
|
||||
<excludes>
|
||||
<!-- users can add -D option to skip particular test classes
|
||||
ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
|
||||
-->
|
||||
<exclude>${test.exclude.pattern}</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -1083,6 +1090,7 @@
|
|||
<surefire.testFailureIgnore>false</surefire.testFailureIgnore>
|
||||
<test.output.tofile>true</test.output.tofile>
|
||||
<surefire.timeout>900</surefire.timeout>
|
||||
<test.exclude.pattern></test.exclude.pattern>
|
||||
<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
|
||||
|
|
Loading…
Reference in New Issue