You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2014/12/23 02:06:01 UTC
hbase git commit: HBASE-12709 [mvn] Add unit test excludes command
line flag to the build
Repository: hbase
Updated Branches:
refs/heads/master 1c45d1cd9 -> 0d5f967c7
HBASE-12709 [mvn] Add unit test excludes command line flag to the build
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0d5f967c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0d5f967c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0d5f967c
Branch: refs/heads/master
Commit: 0d5f967c7ff4809ca782f68a9e48896dd04b16f6
Parents: 1c45d1c
Author: Jonathan M Hsieh <jm...@apache.org>
Authored: Thu Dec 18 06:42:21 2014 -0800
Committer: Jonathan M Hsieh <jm...@apache.org>
Committed: Mon Dec 22 17:04:32 2014 -0800
----------------------------------------------------------------------
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/0d5f967c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9cebc60..01cbdd0 100644
--- a/pom.xml
+++ b/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