mirror of https://github.com/apache/lucene.git
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…
Reference in New Issue