Open ryan-woo opened 4 years ago
Hello, Did you find any resolution to this? Even I am facing similar issue.
I ran into this as well. It might be useful to at least document this behaviour near the delay_rerun example in README.rst.
Just ran into this also. Any status on the fix?
I am finding that the
rerun_filter
function is called twice per test.Version: 3.6.1 Pytest version: 5.4.3
Here is some sample code to recreate the problem:
This logs
ran filter
8 times even though the test only runs 4 times. A stack trace shows that theflaky_pytest_plugin.py
will callself._should_rerun_test
twice: once at line 92 and once at line 101.Relevant stack traces: