Skip to content

Commit 6a4a0b7

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 6f191f9 commit 6a4a0b7

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
@@ -690,20 +690,23 @@
690690
This value is managed separately for jdk11. See below.
691691
-->
692692
<surefire.Xmx>2200m</surefire.Xmx>
693+
<surefire.Xms>1000m</surefire.Xms>
694+
693695
<surefire.cygwinXmx>2200m</surefire.cygwinXmx>
696+
<surefire.cygwinXms>1000m</surefire.cygwinXms>
694697
<!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
695698
696699
And for netty eventloops that have no explicit configuration, netty sets
697700
nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
698701
clusters/tests.
699702
-->
700703
<hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
701-
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
704+
-Xms${surefire.Xms} -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
702705
-Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
703706
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
704707
-Dio.netty.eventLoopThreads=3</hbase-surefire.argLine>
705708
<hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
706-
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
709+
-Xms${surefire.cygwinXms} -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
707710
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
708711
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
709712
-Dio.opentelemetry.context.enableStrictContext=true</hbase-surefire.cygwin-argLine>

0 commit comments

Comments
 (0)