From 88f8255732d8595744eb4f6eaacb3f6c78727113 Mon Sep 17 00:00:00 2001 From: David Arthur Date: Thu, 6 Mar 2025 12:48:21 -0500 Subject: [PATCH] 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 --- .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