You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2016/10/30 08:32:58 UTC

[jira] [Assigned] (SUREFIRE-1297) Specify surefire temp directory for run in multiple processes

     [ https://issues.apache.org/jira/browse/SUREFIRE-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana reassigned SUREFIRE-1297:
--------------------------------------

    Assignee: Tibor Digana

> 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: Wish
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1
>         Environment: https://github.com/apache/maven-surefire/pull/122
>            Reporter: Saponenko Denis
>            Assignee: Tibor Digana
>             Fix For: 2.19.2
>
>
> 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)