Rerun failed tests up to 5 times before complete fail#1070
Rerun failed tests up to 5 times before complete fail#1070ReimarBauer merged 5 commits intoOpen-MSS:developfrom
Conversation
|
I run sometimes into timeouts already now (at least with my modified time check. NFS??). How does this relate to our maximal runtime? |
|
What about via pytest.mark.xfail? Especially this deeper link https://github.com/pytest-dev/pytest-rerunfailures
|
|
Some testing with pytest-rerunfailures caused me a lot of headache and segmentation faults after x reruns. The runtime increases with each failed test. Running them again 5 times will take maybe 10 seconds of overhead + the time needed for the tests * 5. If it passes after 1 retry then the test finishes right there. |
Band aid fix for all the random failing tests on GitHub.
If tests fail, give them 5 more chances to pass before declaring the action failed.
Does not get rid of the occasional xdist hang up.