From d0e8b4242cea8dee4b65aee98c03e48884b61622 Mon Sep 17 00:00:00 2001 From: Tatiana Bogdanova Date: Thu, 14 Nov 2024 12:45:55 +0100 Subject: [PATCH] Fork new test process every n-amount of tests --- buildSrc/src/main/kotlin/CI.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/kotlin/CI.kt b/buildSrc/src/main/kotlin/CI.kt index 8b27caedf2..938a1de2b1 100644 --- a/buildSrc/src/main/kotlin/CI.kt +++ b/buildSrc/src/main/kotlin/CI.kt @@ -20,6 +20,7 @@ fun Project.configureTestTasksOnCi() { tasks.withType().configureEach { ignoreFailures = true if (this is KotlinTest) ignoreRunFailures = true + if (this is Test) forkEvery = 100 } // KotlinTestReport overwrites ignoreFailure values and fails build on test failure if this flag is disabled extra["kotlin.tests.individualTaskReports"] = true