Revert running tests in parallel

See gh-19876
This commit is contained in:
Andy Wilkinson 2021-10-29 17:18:13 +01:00
parent 12d8f942be
commit b9e3660833

View File

@ -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));
});