You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Saponenko Denis (JIRA)" <ji...@apache.org> on 2016/10/29 23:46:59 UTC
[jira] [Created] (SUREFIRE-1297) Specify surefire temp directory
for run in multiple processes
Saponenko Denis created SUREFIRE-1297:
-----------------------------------------
Summary: Specify surefire temp directory for run in multiple processes
Key: SUREFIRE-1297
URL: https://issues.apache.org/jira/browse/SUREFIRE-1297
Project: Maven Surefire
Issue Type: New Feature
Components: Maven Surefire Plugin
Affects Versions: 2.19.1
Environment: https://github.com/apache/maven-surefire/pull/122
Reporter: Saponenko Denis
Fix For: 3.0
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)