Skip to content

Commit 212c7cb

Browse files
stotypetersomogyi
authored andcommitted
HBASE-28135 Specify -Xms for tests (#5451)
Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Peter Somogyi <[email protected]>
1 parent eb549ae commit 212c7cb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,20 +691,23 @@
691691
This value is managed separately for jdk11. See below.
692692
-->
693693
<surefire.Xmx>2200m</surefire.Xmx>
694+
<surefire.Xms>1000m</surefire.Xms>
695+
694696
<surefire.cygwinXmx>2200m</surefire.cygwinXmx>
697+
<surefire.cygwinXms>1000m</surefire.cygwinXms>
695698
<!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
696699
697700
And for netty eventloops that have no explicit configuration, netty sets
698701
nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
699702
clusters/tests.
700703
-->
701704
<hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
702-
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
705+
-Xms${surefire.Xms} -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
703706
-Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
704707
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
705708
-Dio.netty.eventLoopThreads=3</hbase-surefire.argLine>
706709
<hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
707-
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
710+
-Xms${surefire.cygwinXms} -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
708711
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
709712
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
710713
-Dio.opentelemetry.context.enableStrictContext=true</hbase-surefire.cygwin-argLine>

0 commit comments

Comments
 (0)