Don't use all cores processors for tests

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
solonovamax 2021-05-01 16:49:16 -04:00
parent aa9e33af1d
commit 2d41dd8f08
No known key found for this signature in database
GPG Key ID: ED0FC2D44CD76482

View File

@ -16,7 +16,7 @@ allprojects {
maxHeapSize = "2G"
ignoreFailures = false
failFast = true
maxParallelForks = (Runtime.getRuntime().availableProcessors()).takeIf { it > 0 } ?: 1
maxParallelForks = (Runtime.getRuntime().availableProcessors() - 1).takeIf { it > 0 } ?: 1
reports.html.isEnabled = false
reports.junitXml.isEnabled = false