From 2d41dd8f082c2219ea6f0536f66b872cb6d08064 Mon Sep 17 00:00:00 2001 From: solonovamax Date: Sat, 1 May 2021 16:49:16 -0400 Subject: [PATCH] Don't use all cores processors for tests Signed-off-by: solonovamax --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c9cdc4361..aadaac0e8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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