Skip to content
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

Merged
merged 2 commits into from
Jan 27, 2021

Conversation

graingert
Copy link
Member

Copy link
Member

@webknjaz webknjaz left a 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...

@graingert
Copy link
Member Author

@webknjaz maybe we should disable windows and py3.4 for now?

@webknjaz
Copy link
Member

I guess py34 should be deprecated along with py2 since xdist no longer supports those anyway

@webknjaz
Copy link
Member

@graingert master is green so you could just rebase now

@nicoddemus
Copy link
Member

Thanks a lot @graingert!

@nicoddemus nicoddemus merged commit 4272107 into pytest-dev:master Jan 27, 2021
@graingert graingert deleted the waitclose-in-rinfo-call branch January 27, 2021 10:59
@nicoddemus
Copy link
Member

1.8.0 released! 🎉

try:
self._cache_rinfo = RInfo(ch.receive())
finally:
ch.waitclose()
Copy link
Contributor

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).

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

Successfully merging this pull request may close these issues.

4 participants