Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.19.1
-
None
Description
Tests runed in multiple process use one temporary directory. Each process removed temporary directory after execute. For example configuration https://jenkins.io/blog/2016/06/16/parallel-test-executor-plugin/
For solution this problem I add temDir parameter for specify temporary directory name in runner process. For example I execute in parallel process commands:
mvn surefire:test -Dsurefire.includesFile=target/parallel-test-includes-0.txt
mvn surefire:test -Dsurefire.includesFile=target/parallel-test-includes-1.txt
...
After changes be:
mvn surefire:test -Dsurefire.includesFile=target/parallel-test-includes-0.txt -DtempDir=surefire0
mvn surefire:test -Dsurefire.includesFile=target/parallel-test-includes-1.txt -DtempDir=surefire1
...
Link to Pull request https://github.com/apache/maven-surefire/pull/122
Attachments
Issue Links
- links to