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 )

        Activity

        Show
        tibor17 Tibor Digana added a comment - https://git-wip-us.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=2360dacc974c112a3ca14d7a27535c6241275357
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1672 (See https://builds.apache.org/job/maven-surefire/1672/)
        SUREFIRE-1332 SurefireLauncher duplicates functions and breaks build (tibor17: http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=2360dacc974c112a3ca14d7a27535c6241275357)

        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/CrashDetectionIT.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire839TestWithoutCategoriesIT.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire946KillMainProcessInReusableForkIT.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/SurefireLauncher.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire907PerThreadWithoutThreadCountIT.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1295AttributeJvmCrashesToTestsIT.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1672 (See https://builds.apache.org/job/maven-surefire/1672/ ) SUREFIRE-1332 SurefireLauncher duplicates functions and breaks build (tibor17: http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=2360dacc974c112a3ca14d7a27535c6241275357 ) (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/CrashDetectionIT.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire839TestWithoutCategoriesIT.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire946KillMainProcessInReusableForkIT.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/SurefireLauncher.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire907PerThreadWithoutThreadCountIT.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1295AttributeJvmCrashesToTestsIT.java

          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:

              Development