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

SurefireLauncher duplicates functions and breaks build with Maven 3.5.0

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20
    • Component/s: None
    • Labels:
      None

      Description

      https://github.com/apache/maven-surefire/blob/master/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/SurefireLauncher.java

      1. the reuseForks method adds a new system property argument each time it’s called: -DreuseForks=<setting>
      2. the forkPerThread method calls forkMode( "perthread" ).reuseForks( false )
      3. the forkOncePerThread calls forkPerThread().reuseForks( true )

        Attachments

          Activity

            People

            • Assignee:
              tibor17 Tibor Digana
              Reporter:
              tibor17 Tibor Digana
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: