Don't use all cores processors for tests

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
solonovamax committed 2021-05-01 16:53:45 -04:00
1 parent aa9e33af1d
commit 2d41dd8f08
1 file changed
+1 -1
+1 -1
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