-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Mark flaky test as xfail on Python 3.5.0 #5803
Conversation
Have you seen it without xdist? |
That's what I've tried, yes.
Good point, have not tried that. Either way, I think it is fine to merge this; if/when someone champions this, we just remove that line of code. It is worst to have this failing randomly on PRs and generating friction, IMHO. |
Sure. I just got the impression that it started to happen after explicitly testing 3.5.0. |
You got a point, I will mention it in the issue. If you are OK with the PR, could you approve please? Thanks |
Why not just amend it here instead? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 3.5.0, but ok with me.
So you've not seen it yourself? "it seems to only happen sporadically on Linux." refers to the CI job then? |
Yep, and on Linux only, which we use I have changed the check to use |
Wait, another one failed now: test_continue_on_collection_errors |
It is a bit unfortunate that xdist provides not more information there, isn't it? |
Maybe the job should be changed to not use xdist? |
Hmmm that would probably help, let me try it. |
I will remove the |
Due to the flaky tests in 3.5.0, drop running py35 with xdist for now in the hope we get better error messages. Ref: pytest-dev#5795
🤞 |
Cool, for reference it might still break when using coverage with it (#5772). |
😓 |
I've tried to reproduce the issue, but it seems to only happen sporadically on Linux.
Mark it is flaky now to avoid people wasting time on PRs when they encounter this problem.
Related to #5795