Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add rerun capability to pytest test failures #2976

Open
johnmhoran opened this issue May 23, 2022 · 1 comment
Open

Add rerun capability to pytest test failures #2976

johnmhoran opened this issue May 23, 2022 · 1 comment

Comments

@johnmhoran
Copy link
Member

I've noticed with a recent PR (#2958) that one test in particular (FAILED tests/scancode/test_cli.py::test_scan_does_scan_php_composer) seems to fail with near-regularity, yet often will subsequently pass after being manually rerun.

As @pombredanne pointed out when we were discussing how best to handle this behavior, https://github.com/pytest-dev/pytest-rerunfailures may offer an effective method to address these sorts of intermittent failures. Fingers crossed. ;-]

@pombredanne
Copy link
Member

Thanks! actually this is more than nice to have as these random CI are a pain as they make automation fail at automating.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants