Ahmed Ashour created SUREFIRE-1786:
--------------------------------------

             Summary: Incorrect test count with JUnit5 parallel execution 
                 Key: SUREFIRE-1786
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1786
             Project: Maven Surefire
          Issue Type: Bug
    Affects Versions: 3.0.0-M4, 3.0.0-M5
         Environment: Windows 10, maven 3.6.3
            Reporter: Ahmed Ashour


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}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to