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

chesnay pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/flink-connector-elasticsearch.git

commit f11b92a9df0cbedfc9be3c2f9ab82406f50cb29b
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Mon Sep 12 16:54:53 2022 +0200

    [hotfix][build] Introduce property for common surefire arg line
---
 pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 859a2d6..fb7becb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,7 @@ under the License.
                         to the jvm (-Xmx) and the available memory on the 
machine running the test -->
                <flink.forkCountITCase>2</flink.forkCountITCase>
                <flink.forkCountUnitTest>4</flink.forkCountUnitTest>
+               <flink.surefire.baseArgLine>-XX:+UseG1GC 
-Xms256m</flink.surefire.baseArgLine>
        </properties>
 
        <dependencies>
@@ -953,7 +954,7 @@ under the License.
                                                                
<include>${test.unit.pattern}</include>
                                                        </includes>
                                                        
<forkCount>${flink.forkCountUnitTest}</forkCount>
-                                                       <argLine>-Xms256m 
-Xmx${flink.XmxUnitTest} -XX:+UseG1GC</argLine>
+                                                       
<argLine>${flink.surefire.baseArgLine} -Xmx${flink.XmxUnitTest}</argLine>
                                                </configuration>
                                        </execution>
                                        <!--execute all the integration tests-->
@@ -974,7 +975,7 @@ under the License.
                                                                
<exclude>**/*$*</exclude>
                                                        </excludes>
                                                        
<forkCount>${flink.forkCountITCase}</forkCount>
-                                                       <argLine>-Xms256m 
-Xmx${flink.XmxITCase} -XX:+UseG1GC</argLine>
+                                                       
<argLine>${flink.surefire.baseArgLine} -Xmx${flink.XmxITCase}</argLine>
                                                        
<reuseForks>false</reuseForks>
                                                </configuration>
                                        </execution>

Reply via email to