From 436733c79bbcb715e6cf75cd2063450d0712188c Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Thu, 2 Oct 2014 13:35:15 -0700 Subject: [PATCH] HBASE-12160 Make Surefire's argLine configurable in the command line --- pom.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ec750ddc0f9..3df27cdc13c 100644 --- a/pom.xml +++ b/pom.xml @@ -471,7 +471,7 @@ ${surefire.testFailureIgnore} ${surefire.timeout} - -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} ${test.output.tofile} @@ -932,6 +932,14 @@ false true 900 + -enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m + -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true + -Djava.awt.headless=true + + -enableassertions -Xmx1900m -XX:MaxPermSize=256m + -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true + "-Djava.library.path=${hadoop.library.path};${java.library.path}" + @@ -1434,7 +1442,7 @@ org.apache.maven.plugins maven-surefire-plugin - -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} java.net.preferIPv4Stack