-
Notifications
You must be signed in to change notification settings - Fork 42
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
waitclose in _rinfo() call #118
waitclose in _rinfo() call #118
Conversation
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.
looks like the CI on master needs some love...
@webknjaz maybe we should disable windows and py3.4 for now? |
I guess py34 should be deprecated along with py2 since xdist no longer supports those anyway |
@graingert master is green so you could just rebase now |
should improve pytest-dev/pytest-xdist#620
7ad0fb9
to
84ffea8
Compare
Thanks a lot @graingert! |
|
try: | ||
self._cache_rinfo = RInfo(ch.receive()) | ||
finally: | ||
ch.waitclose() |
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.
Since the waitclose doesn't elicit any response to guarantee that the main thread has been released, I added a one second timeout for it to release as shown in #243 (comment).
should improve pytest-dev/pytest-xdist#620