This is an automated email from the ASF dual-hosted git repository.
Caideyipi pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/dev/1.3 by this push:
new e0678edf5d0 Fix Surefire fork port isolation (#18676) (#18677)
e0678edf5d0 is described below
commit e0678edf5d09cb88bf01f5873a085ea8c5a25e79
Author: Caideyipi <[email protected]>
AuthorDate: Wed Nov 4 16:31:22 2026 +0800
Fix Surefire fork port isolation (#18676) (#18677)
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d905de6d248..d6eb4ba7d97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -701,7 +701,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
- <argLine>${argLine} -Xmx1024m</argLine>
+ <argLine>${argLine} -Xmx1024m
-Dsurefire.forkNumber=${surefire.forkNumber}</argLine>
<!-- Force the working directory to be different for
each fork, so forks don't trample each other -->
<workingDirectory>${project.build.directory}/fork_${surefire.forkNumber}</workingDirectory>
</configuration>
@@ -1831,7 +1831,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-->