This is an automated email from the ASF dual-hosted git repository. davidarthur pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push: new 88f8255732d MINOR Increase JUnit max forks and memory for CI (#18560) 88f8255732d is described below commit 88f8255732d8595744eb4f6eaacb3f6c78727113 Author: David Arthur <mum...@gmail.com> AuthorDate: Thu Mar 6 12:48:21 2025 -0500 MINOR Increase JUnit max forks and memory for CI (#18560) Increase the max number of forks for each JUnit task to 4. Also increase the amount of memory given to forked workers to 3g. Reviewers: Chia-Ping Tsai <chia7...@gmail.com> --- .github/actions/run-gradle/action.yml | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run-gradle/action.yml b/.github/actions/run-gradle/action.yml index 0952d869539..8422defb273 100644 --- a/.github/actions/run-gradle/action.yml +++ b/.github/actions/run-gradle/action.yml @@ -88,7 +88,7 @@ runs: ./.github/scripts/thread-dump.sh & timeout ${TIMEOUT_MINUTES}m ./gradlew --build-cache --continue --no-scan \ -PtestLoggingEvents=started,passed,skipped,failed \ - -PmaxParallelForks=2 \ + -PmaxParallelForks=4 \ -PmaxTestRetries=$TEST_RETRIES -PmaxTestRetryFailures=10 \ -Pkafka.test.catalog.file=$TEST_CATALOG \ -Pkafka.test.run.new=$RUN_NEW_TESTS \ diff --git a/build.gradle b/build.gradle index e35b6dbd394..d4c0c0634ca 100644 --- a/build.gradle +++ b/build.gradle @@ -525,7 +525,7 @@ subprojects { maxParallelForks = maxTestForks ignoreFailures = userIgnoreFailures - maxHeapSize = defaultMaxHeapSize + maxHeapSize = "3g" jvmArgs = defaultJvmArgs // KAFKA-17433 Used by deflake.yml github action to repeat individual tests