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

gh-111119: Fix flaky test test_lock_two_threads #111124

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Oct 20, 2023

This allows for more time for the "lock thread" to attempt to lock the mutex (up to two seconds before timing out).

This allows for more time for the "lock thread" to attempt to lock the
mutex (up to two seconds before timing out).
Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@corona10 corona10 enabled auto-merge (squash) October 20, 2023 16:31
@corona10 corona10 merged commit 264f4af into python:main Oct 20, 2023
31 checks passed
@erlend-aasland
Copy link
Contributor

Should this be backported?

@colesbury
Copy link
Contributor Author

@erlend-aasland, no the test is not present in earlier versions of CPython

@colesbury colesbury deleted the test_lock branch October 20, 2023 17:39
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants