Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1297

Specify surefire temp directory for run in multiple processes

    Details

      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

            Activity

              People

              • Assignee:
                tibor17 Tibor Digana
                Reporter:
                vaimr Saponenko Denis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: