-
Notifications
You must be signed in to change notification settings - Fork 234
Allow tests to be logged multiple times with pytest-xdist #206
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
Comments
@RonnyPfannschmidt do you have some suggestions on where to start with this? |
given the way tests and |
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 10, 2017
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 17, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
From pytest created by davehunt : pytest-dev/pytest#1193
Note that this is not related to pytest-dev/pytest#927
In pytest-rerunfailures the test protocol is run multiple times in the event of a failure. An enhancement will log each iteration of the test with an outcome of 'rerun' until the maximum number of reruns is reached, at which point the genuine outcome is preserved. This works fine unless running the tests without pytest-xdist, which causes issues when the first rerun of a test is attempted to be removed from the scheduler:
For now I can avoid logging multiple reports if we're running tests in parallel, but that does mean that the only indication of multiple tests running will be the multiple logstart calls. Ideally there should be no difference between running tests in serial or parallel.
The text was updated successfully, but these errors were encountered: