-
Notifications
You must be signed in to change notification settings - Fork 31
Compatability with pytest pytest-xdist==1.30.0 #201
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
We don't currently test with xdist, if you are working on this I think it'd be good to have some tests here using it. |
Thanks @thedrow . Will close this issue then. |
No, the issue is still there (I'm not saying pytest-randomly has to do anything for this issue but just for the sake of recoding...) test/test_0.py def test_a(): pass test/test_1.py def test_b(): pass
There's some indeterminacy here |
Thanks for the example @nodakai . With that I was able to figure out what the problem was - the workers would sometimes not share the same default seed, since it's based on Fixed in #245 and released in version 3.3.0 ! 🎲🎉 |
Awesome! |
@adamchainz would you guys be open to a contribution backporting this fix into the |
I don't work with Python 2.7 more (at least, for free). If you want a backport please fork, cherry-pick the commit, and pip install from your repo. |
FYI I think there's a compatibility issue with pytest-xdist==1.30.0, see pytest-dev/pytest-xdist#472
The text was updated successfully, but these errors were encountered: