@@ -1162,27 +1162,27 @@ subprojects {
11621162 tasks. withType(Test ) {
11631163 jvmArgs + = compilerArgsForRunningCF
11641164
1165- // maxParallelForks controls the parallelism of a single Test
1166- // task. --parallel controls parallelism for the entire build.
1167-
1168- // Run tests in parallel, except on CI where it seems to lead to flaky failures.
1169- // The TF_BUILD environment variable is set to 'True' for jobs running on Azure Pipelines.
1170- if (! System . getenv(' TF_BUILD' )?. equals(' True' )) {
1171- // Not running under Azure Pipelines CI.
1172-
1173- maxParallelForks = Runtime . runtime. availableProcessors() ?: 1
1174- } else {
1175- // Running under Azure Pipelines CI.
1176-
1177- // Per Manu's comment above, on CI, parallelism seems to lead to flaky failures.
1178- maxParallelForks = 1
1179-
1180- // Fork the test to try to improve performance.
1181- // https://docs.gradle.org/current/userguide/performance.html#fork_tests_into_multiple_processes
1182- tasks. withType(Test ) {
1183- forkEvery = 25
1184- }
1185- }
1165+ // // maxParallelForks controls the parallelism of a single Test task.
1166+ // // --parallel controls parallelism for the entire build.
1167+
1168+ // // Run tests in parallel, except on CI where it seems to lead to flaky failures.
1169+ // // The TF_BUILD environment variable is set to 'True' for jobs running on Azure Pipelines.
1170+ // if (!System.getenv('TF_BUILD')?.equals('True')) {
1171+ // // Not running under Azure Pipelines CI.
1172+
1173+ // maxParallelForks = Runtime.runtime.availableProcessors() ?: 1
1174+ // } else {
1175+ // // Running under Azure Pipelines CI.
1176+
1177+ // // Per Manu's comment above, on CI, parallelism seems to lead to flaky failures.
1178+ // maxParallelForks = 1
1179+
1180+ // // Fork the test to try to improve performance.
1181+ // // https://docs.gradle.org/current/userguide/performance.html#fork_tests_into_multiple_processes
1182+ // tasks.withType(Test) {
1183+ // forkEvery = 25
1184+ // }
1185+ // }
11861186
11871187 if (project. name. is(' checker' )) {
11881188 dependsOn(' assembleForJavac' )
0 commit comments