Skip to content

bpo-40155: Stop test_builtin from hanging on AIX, Solaris and maybe others. #19308

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

Closed
wants to merge 1 commit into from

Conversation

aixtools
Copy link
Contributor

@aixtools aixtools commented Apr 2, 2020

This is to workaround a side-effect introduced by
16d7567 bpo-31160: Fix race
condition in test_os.PtyTests (GH-19263)
Patch by M. Felt

I hope this can be merged quickly so the bots can finish normally again.

I did not provide a NEWS blurb. Can be added if desired.

https://bugs.python.org/issue40155

This is to workaround a side-effect introduced by
16d7567 bpo-31160: Fix race
condition in test_os.PtyTests (pythonGH-19263)
Patch by M. Felt
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting review labels Apr 2, 2020
@aixtools aixtools changed the title bpo-41055: Stop test_builtin from hanging on AIX, Solaris and maybe others. bpo-40155: Stop test_builtin from hanging on AIX, Solaris and maybe others. Apr 2, 2020
@vstinner
Copy link
Member

vstinner commented Apr 2, 2020

I wrote PR #19312 which closes the fd before the wait on all platforms. I just adapted the code to expect the child process to be terminated by SIGHUP.

@vstinner
Copy link
Member

vstinner commented Apr 3, 2020

Thanks. I merged PR #19314 instead.

@vstinner vstinner closed this Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants