<#6693 feature: Automatically re-run flaky tests> ...
# meltano-repo-activity
g
#6693 feature: Automatically re-run flaky tests Issue created by WillDaSilva Feature 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
main
to find flaky tests. Additionally, we can run https://github.com/dropbox/pytest-flakefinder to find more. meltano/meltano