mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 17:46:28 +00:00
LUCENE-9165: explicitly cast with the horrible groovy language so that numbers above 9 don't fail
This commit is contained in:
parent
c53cc3edaf
commit
f5e9bb9493
@ -41,7 +41,7 @@ allprojects {
|
||||
if (verboseMode) {
|
||||
maxParallelForks = 1
|
||||
} else {
|
||||
maxParallelForks = propertyOrDefault("tests.jvms", (int) Math.max(1, Math.min(Runtime.runtime.availableProcessors() / 2.0, 4.0)))
|
||||
maxParallelForks = propertyOrDefault("tests.jvms", (int) Math.max(1, Math.min(Runtime.runtime.availableProcessors() / 2.0, 4.0))) as Integer
|
||||
}
|
||||
|
||||
workingDir testsCwd
|
||||
|
Loading…
x
Reference in New Issue
Block a user