From 337f1514f77980964212cdeee4d007d4715e8c91 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 22 Mar 2023 23:12:28 +0000 Subject: [PATCH] try to run tests serially due to jdk 8 build issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908652 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 811753326c..251b78cb22 100644 --- a/build.gradle +++ b/build.gradle @@ -38,6 +38,7 @@ plugins { id 'de.thetaphi.forbiddenapis' version '3.4' id 'org.sonarqube' version '4.0.0.2929' id 'org.cyclonedx.bom' version '1.7.4' + id 'com.adarshr.test-logger' version '3.2.0' } repositories { @@ -113,6 +114,7 @@ subprojects { apply plugin: 'de.thetaphi.forbiddenapis' apply plugin: 'com.github.spotbugs' apply plugin: 'org.cyclonedx.bom' + apply plugin: 'com.adarshr.test-logger' ext { bouncyCastleVersion = '1.72' @@ -304,11 +306,11 @@ subprojects { jvmArgs += [ // Strictly serial - // '-Djunit.jupiter.execution.parallel.enabled=false', + '-Djunit.jupiter.execution.parallel.enabled=false', // OR parallel on 2 threads - '-Djunit.jupiter.execution.parallel.config.strategy=fixed', - '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2' + //'-Djunit.jupiter.execution.parallel.config.strategy=fixed', + //'-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2' ] maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 } else { @@ -548,7 +550,6 @@ subprojects { spotbugs { ignoreFailures = true showStackTraces = false - showProgress = true maxHeapSize = '1g' }