Skip to content

Re-run failed test after slave death #183

New issue

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

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

Already on GitHub? Sign in to your account

Open
digitalresistor opened this issue Jul 11, 2017 · 3 comments
Open

Re-run failed test after slave death #183

digitalresistor opened this issue Jul 11, 2017 · 3 comments

Comments

@digitalresistor
Copy link

Is there a way to re-run a test that failed during slave death? Due to the nature of the project I am working on it is possible for a test slave to be reaped by the OOM handler in Linux, and instead of rejecting that test it would be awesome if the test could instead be retried.

@nicoddemus
Copy link
Member

Not ouf of the box, sorry. I wonder though if you could use another plugin together with xdist, for example pytest-rerunfailures.

@digitalresistor
Copy link
Author

It seems this is an issue for me too: #124

So for this to be useful, the right test has to be marked.

@nicoddemus
Copy link
Member

So for this to be useful, the right test has to be marked.

True, I'll change the label to "enhancement".

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

No branches or pull requests

2 participants