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 <chia7712@gmail.com>
This commit is contained in:
David Arthur 2025-03-06 12:48:21 -05:00 committed by GitHub
parent a738df4aaa
commit 88f8255732
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ runs:
./.github/scripts/thread-dump.sh & ./.github/scripts/thread-dump.sh &
timeout ${TIMEOUT_MINUTES}m ./gradlew --build-cache --continue --no-scan \ timeout ${TIMEOUT_MINUTES}m ./gradlew --build-cache --continue --no-scan \
-PtestLoggingEvents=started,passed,skipped,failed \ -PtestLoggingEvents=started,passed,skipped,failed \
-PmaxParallelForks=2 \ -PmaxParallelForks=4 \
-PmaxTestRetries=$TEST_RETRIES -PmaxTestRetryFailures=10 \ -PmaxTestRetries=$TEST_RETRIES -PmaxTestRetryFailures=10 \
-Pkafka.test.catalog.file=$TEST_CATALOG \ -Pkafka.test.catalog.file=$TEST_CATALOG \
-Pkafka.test.run.new=$RUN_NEW_TESTS \ -Pkafka.test.run.new=$RUN_NEW_TESTS \

View File

@ -525,7 +525,7 @@ subprojects {
maxParallelForks = maxTestForks maxParallelForks = maxTestForks
ignoreFailures = userIgnoreFailures ignoreFailures = userIgnoreFailures
maxHeapSize = defaultMaxHeapSize maxHeapSize = "3g"
jvmArgs = defaultJvmArgs jvmArgs = defaultJvmArgs
// KAFKA-17433 Used by deflake.yml github action to repeat individual tests // KAFKA-17433 Used by deflake.yml github action to repeat individual tests