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

[3.12] gh-107851: Fix spurious failures in fcntl eintr tests (GH-121556) #121586

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 10, 2024

On heavily loaded machines, the subprocess may finish its sleep before
the parent process manages to synchronize with it via a failed lock.

This leads to errors like:

Exception: failed to sync child in 300.3 sec

Use pipes instead to mutually synchronize between parent and child.
(cherry picked from commit af9f6de)

Co-authored-by: Sam Gross [email protected]

…-121556)

On heavily loaded machines, the subprocess may finish its sleep before
the parent process manages to synchronize with it via a failed lock.

This leads to errors like:

  Exception: failed to sync child in 300.3 sec

Use pipes instead to mutually synchronize between parent and child.
(cherry picked from commit af9f6de)

Co-authored-by: Sam Gross <[email protected]>
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Jul 10, 2024
@colesbury colesbury enabled auto-merge (squash) July 10, 2024 14:37
@colesbury colesbury merged commit 847c803 into python:3.12 Jul 10, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants