-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Evergreen, Test Failure
-
None
-
Java Drivers
- Create a test runner-agnostic internal API for retrying tests.
- Identify some tests that need retrying (see JAVA-5392).
- modify how the identified tests are run such that they are retried.
- Keep routinely identifying such tests and modifying them. This item should not prevent us from making the ticket as closed.
Note that @RepeatedTest from JUnit 5 does not seem to work with @ParameterizedTest: https://github.com/junit-team/junit5/issues/1224, nor does it have functionality we need (we need to be able to inspect the test failure as well as the test parameters).
Given that @RetryingTest from https://junit-pioneer.org/docs/retrying-test/ has access to the test failure (see onExceptions), we should be able to access the test failure and, hopefully, the test parameters from JUnit 5 when developing our retry mechanism.
- is depended on by
-
JAVA-5375 Ensure Flaky CSOT Unified tests are retried
- Backlog