From b9e36608331ba8e6c5950e45f920d446adf7fc88 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 29 Oct 2021 17:18:13 +0100 Subject: [PATCH] Revert running tests in parallel See gh-19876 --- .../java/org/springframework/boot/build/JavaConventions.java | 1 - 1 file changed, 1 deletion(-) diff --git a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java index 14df5ee402..79400a0a71 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/JavaConventions.java @@ -156,7 +156,6 @@ class JavaConventions { project.getTasks().withType(Test.class, (test) -> { test.useJUnitPlatform(); test.setMaxHeapSize("1024M"); - test.setMaxParallelForks(project.getGradle().getStartParameter().getMaxWorkerCount()); project.getTasks().withType(Checkstyle.class, (checkstyle) -> test.mustRunAfter(checkstyle)); project.getTasks().withType(CheckFormat.class, (checkFormat) -> test.mustRunAfter(checkFormat)); });