diff --git a/gradle/tests.gradle b/gradle/tests.gradle index 0a43b0dda..baf6bf666 100644 --- a/gradle/tests.gradle +++ b/gradle/tests.gradle @@ -117,7 +117,7 @@ tasks.withType(Test).configureEach { } tasks.test.configure { - maxParallelForks = Runtime.getRuntime().availableProcessors() + // maxParallelForks = Runtime.getRuntime().availableProcessors() useJUnitPlatform { excludeTags("nightly") excludeTags("replay") @@ -126,14 +126,14 @@ tasks.test.configure { } tasks.register("fastReplayTests", Test) { - if (System.getenv().containsKey("REPLAY_TESTS_PARALLELISM")) { - systemProperty("junit.jupiter.execution.parallel.enabled", true) - systemProperty("junit.jupiter.execution.parallel.mode.default", "concurrent") - systemProperty("junit.jupiter.execution.parallel.mode.classes.default", "concurrent") - systemProperty("junit.jupiter.execution.parallel.config.strategy", "fixed") - systemProperty("junit.jupiter.execution.parallel.config.fixed.parallelism", - System.getenv().get("REPLAY_TESTS_PARALLELISM").toInteger()) - } + // if (System.getenv().containsKey("REPLAY_TESTS_PARALLELISM")) { + // systemProperty("junit.jupiter.execution.parallel.enabled", true) + // systemProperty("junit.jupiter.execution.parallel.mode.default", "concurrent") + // systemProperty("junit.jupiter.execution.parallel.mode.classes.default", "concurrent") + // systemProperty("junit.jupiter.execution.parallel.config.strategy", "fixed") + // systemProperty("junit.jupiter.execution.parallel.config.fixed.parallelism", + // System.getenv().get("REPLAY_TESTS_PARALLELISM").toInteger()) + // } useJUnitPlatform { includeTags("replay") excludeTags("nightly")