mirror of https://github.com/apache/poi.git
try to fix concurrent issues in excelant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892478 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b9e0f8edb8
commit
d9238f2490
|
@ -235,7 +235,6 @@ subprojects {
|
||||||
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
|
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
|
||||||
"-Dversion.id=${project.version}",
|
"-Dversion.id=${project.version}",
|
||||||
'-ea',
|
'-ea',
|
||||||
'-Djunit.jupiter.execution.parallel.enabled=true',
|
|
||||||
'-Djunit.jupiter.execution.parallel.config.strategy=fixed',
|
'-Djunit.jupiter.execution.parallel.config.strategy=fixed',
|
||||||
'-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3'
|
'-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3'
|
||||||
// -Xjit:verbose={compileStart|compileEnd},vlog=build/jit.log${no.jit.sherlock} ... if ${isIBMVM}
|
// -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
|
// 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['java.locale.providers'] = 'JRE,CLDR'
|
||||||
|
|
||||||
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'false'
|
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
||||||
jvmArgs += [
|
jvmArgs += [
|
||||||
|
|
|
@ -126,6 +126,8 @@ test {
|
||||||
|
|
||||||
dependsOn { testJar }
|
dependsOn { testJar }
|
||||||
|
|
||||||
|
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
jvmArgs += [
|
jvmArgs += [
|
||||||
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
|
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
|
||||||
|
|
|
@ -217,6 +217,8 @@ test {
|
||||||
|
|
||||||
dependsOn { testJar }
|
dependsOn { testJar }
|
||||||
|
|
||||||
|
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
jvmArgs += [
|
jvmArgs += [
|
||||||
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
|
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
|
||||||
|
|
|
@ -150,7 +150,9 @@ artifacts {
|
||||||
test {
|
test {
|
||||||
dependsOn { testJar }
|
dependsOn { testJar }
|
||||||
|
|
||||||
doFirst {
|
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
|
||||||
|
|
||||||
|
doFirst {
|
||||||
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
||||||
jvmArgs += [
|
jvmArgs += [
|
||||||
'--add-modules', MODULE_NAME,
|
'--add-modules', MODULE_NAME,
|
||||||
|
|
|
@ -154,6 +154,8 @@ artifacts {
|
||||||
test {
|
test {
|
||||||
dependsOn { testJar }
|
dependsOn { testJar }
|
||||||
|
|
||||||
|
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
|
||||||
jvmArgs << [
|
jvmArgs << [
|
||||||
|
|
Loading…
Reference in New Issue