mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
632ec9dbf7
commit
337f1514f7
|
@ -38,6 +38,7 @@ plugins {
|
||||||
id 'de.thetaphi.forbiddenapis' version '3.4'
|
id 'de.thetaphi.forbiddenapis' version '3.4'
|
||||||
id 'org.sonarqube' version '4.0.0.2929'
|
id 'org.sonarqube' version '4.0.0.2929'
|
||||||
id 'org.cyclonedx.bom' version '1.7.4'
|
id 'org.cyclonedx.bom' version '1.7.4'
|
||||||
|
id 'com.adarshr.test-logger' version '3.2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -113,6 +114,7 @@ subprojects {
|
||||||
apply plugin: 'de.thetaphi.forbiddenapis'
|
apply plugin: 'de.thetaphi.forbiddenapis'
|
||||||
apply plugin: 'com.github.spotbugs'
|
apply plugin: 'com.github.spotbugs'
|
||||||
apply plugin: 'org.cyclonedx.bom'
|
apply plugin: 'org.cyclonedx.bom'
|
||||||
|
apply plugin: 'com.adarshr.test-logger'
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
bouncyCastleVersion = '1.72'
|
bouncyCastleVersion = '1.72'
|
||||||
|
@ -304,11 +306,11 @@ subprojects {
|
||||||
|
|
||||||
jvmArgs += [
|
jvmArgs += [
|
||||||
// Strictly serial
|
// Strictly serial
|
||||||
// '-Djunit.jupiter.execution.parallel.enabled=false',
|
'-Djunit.jupiter.execution.parallel.enabled=false',
|
||||||
|
|
||||||
// OR parallel on 2 threads
|
// OR parallel on 2 threads
|
||||||
'-Djunit.jupiter.execution.parallel.config.strategy=fixed',
|
//'-Djunit.jupiter.execution.parallel.config.strategy=fixed',
|
||||||
'-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2'
|
//'-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2'
|
||||||
]
|
]
|
||||||
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
|
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
|
||||||
} else {
|
} else {
|
||||||
|
@ -548,7 +550,6 @@ subprojects {
|
||||||
spotbugs {
|
spotbugs {
|
||||||
ignoreFailures = true
|
ignoreFailures = true
|
||||||
showStackTraces = false
|
showStackTraces = false
|
||||||
showProgress = true
|
|
||||||
maxHeapSize = '1g'
|
maxHeapSize = '1g'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue