#6693 feature: Automatically re-run flaky tests
Issue created by WillDaSilvaFeature scope
Other
Description
In a perfect world we wouldn't have flaky tests. We do not live in a perfect world.
pytest-rerunfailures can be used to automatically rerun flaky tests if they fail:
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_flaky_behaviour():
...
I've used this Pytest plugin previously, and in my experience it works very well.
We can look through the failed tests that succeeded upon re-running in CI on