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

Incorrect test count with JUnit5 parallel execution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-M4, 3.0.0-M5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 10, maven 3.6.3

      Description

      This is reproducible in 3.0.0-M4 and in master

       

      When running the tests in parallel, the counts don't match with the ones defined in the test.

       

      It was raised against [JUnit|https://github.com/junit-team/junit5/issues/1975], however the team pointed out to Surefire.

       

      The test project is [here|https://github.com/priyankshah217/junit5sample].

       

      `mvn test`

       

      Should give 3 for each of SampleTest and SampleTest2, but it gives 6 for SampleTest and 0 for SampleTest2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                asashour Ahmed Ashour
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: