This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new abdc8cfca58 HBASE-28135 Specify -Xms for tests (#5451)
abdc8cfca58 is described below

commit abdc8cfca58cddf1cf18d0ef96db97e3b3345f0a
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 12 09:16:09 2023 +0200

    HBASE-28135 Specify -Xms for tests (#5451)
    
    Signed-off-by: Duo Zhang <zhang...@apache.org>
    Signed-off-by: Peter Somogyi <psomo...@apache.org>
---
 pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 03264012a0a..5ad0c76e8aa 100755
--- a/pom.xml
+++ b/pom.xml
@@ -676,7 +676,10 @@
       This value is managed separately for jdk11. See below.
     -->
     <surefire.Xmx>2200m</surefire.Xmx>
+    <surefire.Xms>1000m</surefire.Xms>
+
     <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
+    <surefire.cygwinXms>1000m</surefire.cygwinXms>
     <!--Mark our test runs with '-Dhbase.build.id' so we can identify a 
surefire test as ours in a process listing
 
       And for netty eventloops that have no explicit configuration, netty sets
@@ -684,12 +687,12 @@
       clusters/tests.
      -->
     <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} 
-Xmx${surefire.Xmx}
-      -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
+      -Xms${surefire.Xms} -Djava.security.egd=file:/dev/./urandom 
-Djava.net.preferIPv4Stack=true
       -Djava.awt.headless=true 
-Djdk.net.URLClassPath.disableClassPathURLCheck=true
       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
       -Dio.netty.eventLoopThreads=3</hbase-surefire.argLine>
     <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
-      -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
+      -Xms${surefire.cygwinXms} -Djava.security.egd=file:/dev/./urandom 
-Djava.net.preferIPv4Stack=true
       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
       
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced</hbase-surefire.cygwin-argLine>
     
<hbase-surefire.jdk11.flags>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true

Reply via email to