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

        Issue Links

          Activity

          Show
          githubbot ASF GitHub Bot added a comment - Github user vaimr commented on the issue: https://github.com/apache/maven-surefire/pull/122 https://issues.apache.org/jira/browse/SUREFIRE-1297
          Show
          tibor17 Tibor Digana added a comment - https://git-wip-us.apache.org/repos/asf?p=maven-surefire.git;a=commitdiff;h=fb9b699e27dae905393a5bc4d5c6ae39606c3172
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-surefire #1643 (See https://builds.apache.org/job/maven-surefire/1643/)
          SUREFIRE-1297 Specify surefire temp directory for run in multiple (tibor17: rev fb9b699e27dae905393a5bc4d5c6ae39606c3172)

          • (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1643 (See https://builds.apache.org/job/maven-surefire/1643/ ) SUREFIRE-1297 Specify surefire temp directory for run in multiple (tibor17: rev fb9b699e27dae905393a5bc4d5c6ae39606c3172) (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java

            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:

                Development