]> source.dussan.org Git - poi.git/commitdiff
try to fix concurrent issues in excelant
authorAndreas Beeker <kiwiwings@apache.org>
Fri, 20 Aug 2021 17:07:36 +0000 (17:07 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Fri, 20 Aug 2021 17:07:36 +0000 (17:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892478 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
poi-integration/build.gradle
poi-ooxml/build.gradle
poi-scratchpad/build.gradle
poi/build.gradle

index 4c1a61d4fb4c763c46601dd315f0ac5c8ebe9c08..fdb03d0f2010dea6dc898ed5363e4c42b93e257a 100644 (file)
@@ -235,7 +235,6 @@ subprojects {
             '-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
             "-Dversion.id=${project.version}",
             '-ea',
-            '-Djunit.jupiter.execution.parallel.enabled=true',
             '-Djunit.jupiter.execution.parallel.config.strategy=fixed',
             '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3'
             // -Xjit:verbose={compileStart|compileEnd},vlog=build/jit.log${no.jit.sherlock}   ... if ${isIBMVM}
@@ -252,8 +251,6 @@ subprojects {
         // this is necessary for JDK 9+ to keep formatting dates the same way as in previous JDK-versions
         systemProperties['java.locale.providers'] = 'JRE,CLDR'
 
-        systemProperties['junit.jupiter.execution.parallel.enabled'] = 'false'
-
         doFirst {
             if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
                 jvmArgs += [
index 43afa39b512a754dcf3e6d431206efbc905d4543..e5bd949ca1d4195e1fcf9be71d7aa8fe5a2cb9dc 100644 (file)
@@ -126,6 +126,8 @@ test {
 
     dependsOn { testJar }
 
+    systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
+
     doFirst {
         jvmArgs += [
             "-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
index 37638d95bfb346a9b2e7359231087f928b3fe9d6..5d57783622d3669d4dab49a25d4616b994407aa7 100644 (file)
@@ -217,6 +217,8 @@ test {
 
     dependsOn { testJar }
 
+    systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
+
     doFirst {
         jvmArgs += [
             "-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
index c88cfeae142d9a2b19f6a9973fb76588b916e971..2e2f8219e99370074d512930416efbd7afb3bbdf 100644 (file)
@@ -150,7 +150,9 @@ artifacts {
 test {
     dependsOn { testJar }
 
-   doFirst {
+    systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
+
+    doFirst {
         if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
             jvmArgs += [
                 '--add-modules', MODULE_NAME,
index df8997bf8c93421af5da0d2d0884fd3b710ef91d..6c337e049e13e313d9bd51de624b18446e6ee1e2 100644 (file)
@@ -154,6 +154,8 @@ artifacts {
 test {
     dependsOn { testJar }
 
+    systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
+
     doFirst {
         if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
             jvmArgs << [