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

Caideyipi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 0862ecb1d1c Fix Surefire fork port isolation (#18676)
0862ecb1d1c is described below

commit 0862ecb1d1ce54f3e6e14ccdcbeaec6d686503c3
Author: Caideyipi <[email protected]>
AuthorDate: Fri Sep 18 18:45:06 2026 +0800

    Fix Surefire fork port isolation (#18676)
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index e23bf05a485..468a9760c6a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -716,7 +716,7 @@
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>3.1.2</version>
                     <configuration>
-                        <argLine>${argLine} -Xmx1024m</argLine>
+                        <argLine>${argLine} -Xmx1024m 
-Dsurefire.forkNumber=${surefire.forkNumber}</argLine>
                         <!-- Subscription UT is maintained and executed by the 
enterprise edition. -->
                         <excludes>
                             <exclude>**/subscription/**</exclude>
@@ -1965,7 +1965,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
-                            <argLine>${argLine} @{surefire.jacoco.args} 
-Xmx1024m</argLine>
+                            <argLine>${argLine} @{surefire.jacoco.args} 
-Xmx1024m -Dsurefire.forkNumber=${surefire.forkNumber}</argLine>
                         </configuration>
                     </plugin>
                     <!-- for IT-->

Reply via email to