This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new 04b881485 [STORM-3792] Change forkCount from 1 to 1.0C and
reuseForks=false (#3410)
04b881485 is described below
commit 04b88148520d730a9e7de3e4f6895c470c00b4b2
Author: Bipin Prasad <[email protected]>
AuthorDate: Tue Aug 15 00:52:26 2023 -0700
[STORM-3792] Change forkCount from 1 to 1.0C and reuseForks=false (#3410)
* [STORM-3792] Change forkCount from 1 to 1.0C. Change reuseForks to false
in main pom.xml.
* [STORM-3792] Revert most forkCount changes to module poms.
* [STORM-3792] Reverse forkCount to 1, since Travis CI fails to start forks.
---------
Co-authored-by: Bipin Prasad <[email protected]>
---
pom.xml | 2 +-
sql/storm-sql-core/pom.xml | 2 +-
storm-server/pom.xml | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index c75daf758..6c51d7177 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1205,7 +1205,7 @@
<argLine>-Xmx3g
-XX:+HeapDumpOnOutOfMemoryError</argLine>
<trimStackTrace>false</trimStackTrace>
<forkCount>1.0C</forkCount>
- <reuseForks>true</reuseForks>
+ <reuseForks>false</reuseForks>
<systemPropertyVariables>
<storm.home>${project.basedir}/target/testhome</storm.home>
</systemPropertyVariables>
diff --git a/sql/storm-sql-core/pom.xml b/sql/storm-sql-core/pom.xml
index 8b55e3d38..a628d2a7e 100644
--- a/sql/storm-sql-core/pom.xml
+++ b/sql/storm-sql-core/pom.xml
@@ -199,7 +199,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <forkCount>1</forkCount>
+ <forkCount>1.0C</forkCount>
</configuration>
</plugin>
<plugin>
diff --git a/storm-server/pom.xml b/storm-server/pom.xml
index 3ec917389..9ec15b0b2 100644
--- a/storm-server/pom.xml
+++ b/storm-server/pom.xml
@@ -172,6 +172,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <reuseForks>false</reuseForks>
<forkCount>1</forkCount>
<argLine>${storm-server.test.introspection.argLine} -Xmx3g
-XX:+HeapDumpOnOutOfMemoryError</argLine>
</configuration>