Details
-
Type:
Task
-
Status: Selected
-
Priority:
Neutral
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Epic Link:
-
Story Points:5
Description
Reintroduce this feature we already have for JUnit4-based tests.
It looks like some random flakiness is unavoidable (possibly linked to network issues or anyway causes independent of the framework or of a particular test implementation).
Surefire may help us there with the rerunFailingTestsCount property.
See Maven Surefire Plugin - Rerun Failing Tests especially since version 3.0.0-M4 and SUREFIRE-1584
Some other possible solution inspiration sources (although the surefire-based approach seems more preferrable):
- @RetryingTest from JUnit Pioneer
- https://github.com/artsok/rerunner-jupiter(https://github.com/artsok/rerunner-jupiter)
- https://stackoverflow.com/questions/46181026/junit5-how-to-repeat-failed-test(https://stackoverflow.com/questions/46181026/junit5-how-to-repeat-failed-test)
Timebox: 5sp for investigation/PoC.
Checklists
Attachments
Issue Links
- is cloned by
-
MGNLTEST-81 Complete implementation of `RetryOnFailure` functionality for JUnit 5 tests
-
- Closed
-
- is related to
-
BUILD-364 Maven plugins update
-
- Closed
-
- supersedes
-
MGNLTEST-78 Test retry functionality is not fully implemented
-
- Closed
-
- mentioned in
-
Page Loading...