pjfanning commented on a change in pull request #275:
URL: https://github.com/apache/poi/pull/275#discussion_r741672436



##########
File path: build.gradle
##########
@@ -271,8 +278,10 @@ subprojects {
             
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
             "-Dversion.id=${project.version}",
             '-ea',
-            '-Djunit.jupiter.execution.parallel.config.strategy=fixed',
-            '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2'
+            '-Djunit.jupiter.execution.parallel.enabled=true',
+            '-Djunit.jupiter.execution.parallel..mode.default=concurrent'

Review comment:
       The CI build uses the 'jenkins' task in build.gradle while human users 
would probably use 'test' task. So, we can have the build.gradle behave 
differently depending on the task that is called.

##########
File path: build.gradle
##########
@@ -271,8 +278,10 @@ subprojects {
             
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
             "-Dversion.id=${project.version}",
             '-ea',
-            '-Djunit.jupiter.execution.parallel.config.strategy=fixed',
-            '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2'
+            '-Djunit.jupiter.execution.parallel.enabled=true',
+            '-Djunit.jupiter.execution.parallel..mode.default=concurrent'

Review comment:
       The CI build uses the 'jenkins' task in build.gradle while human users 
would probably use 'test' task. So, we can have the build.gradle behave 
differently depending on the task that is called.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to