GitHub user vaimr opened a pull request:

    https://github.com/apache/maven-surefire/pull/122

    Specify surefire temp directory for run in multiple processes

    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`
    `...`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vaimr/maven-surefire master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-surefire/pull/122.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #122
    
----
commit e71bdb0701d7e994d628d991b3754ffceb23a3df
Author: saponenko.denis <saponenko.de...@gmail.com>
Date:   2016-09-21T12:53:33Z

    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/

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to