XN137 opened a new pull request, #3338:
URL: https://github.com/apache/maven-surefire/pull/3338

   Add integration tests exposing broken surefire behavior when JUnit 4 
`@AfterClass` or JUnit 5 `@AfterAll` methods always throw. The tests document 
the following bugs on master:
   
   - XML report has `errors="0"` despite an `<error>` element in a testcase
   - The teardown error is misclassified as a flake (`flakes="1"`)
   - The error testcase has an empty name (`name=""`)
   - With `rerunFailingTestsCount`, the build passes green because the 
deterministic teardown failure is swallowed as a flake
   - Passing test methods are needlessly re-executed (rerunCount + 1 times)
   
   --------
   
    - [x] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to