Skip to content

Commit

Permalink
build: don't report tests.jvms in reproduce lines
Browse files Browse the repository at this point in the history
Motivated by needing to remove this from a failure reported by Crave's 96 core machine.
  • Loading branch information
dsmiley committed Jan 11, 2025
1 parent 440e70d commit d5f2b00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gradle/testing/defaults-tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ allprojects {
// Test forks
[propName: 'tests.jvms',
value: { -> ((int) Math.max(1, Math.min(Runtime.runtime.availableProcessors() / 2.0, 4.0))) },
description: "Number of forked test JVMs"],
description: "Number of forked test JVMs",
includeInReproLine: false],
[propName: 'tests.haltonfailure', value: true, description: "Halt processing on test failure."],
// Default code cache size is 240m, but disabling C2 compiler shrinks it to 48m, which turns out to not be enough
[propName: 'tests.jvmargs',
Expand Down Expand Up @@ -98,7 +99,7 @@ allprojects {

maxParallelForks = resolvedTestOption("tests.jvms") as Integer
if (verboseMode && maxParallelForks != 1) {
logger.lifecycle("tests.jvm forced to 1 in verbose mode.")
logger.lifecycle("tests.jvms forced to 1 in verbose mode.")
maxParallelForks = 1
}

Expand Down

0 comments on commit d5f2b00

Please sign in to comment.