Skip to content

gh-107851: reduce race condition in test_flock and test_lockf #107931

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
Closed

gh-107851: reduce race condition in test_flock and test_lockf #107931

wants to merge 1 commit into from

Conversation

andreas-schwab
Copy link
Contributor

@andreas-schwab andreas-schwab commented Aug 14, 2023

Avoid a spurious test failure. When the parent process sleeps longer
between tries than the subprocess holds the lock, the synchronisation can
fail.

@Eclips4 Eclips4 added the tests Tests in the Lib/test dir label Aug 14, 2023
Avoid a spurious test failure.  When the parent process sleeps longer
between tries than the subprocess holds the lock, the synchronisation can
fail.
@andreas-schwab andreas-schwab deleted the test-eintr branch December 12, 2023 23:25
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.

3 participants