Skip to content

gh-87135: test_threading: Wait on thread, not an Event it sets #133198

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

Merged

Conversation

encukou
Copy link
Member

@encukou encukou commented Apr 30, 2025

Sorry for this mistake!
When the event is set the thread might not be done yet. This should fix newly-flaky refleak buildbots.

This is a fix-up for commit 4ebbfcf

When the event is set the thread might not be done yet.

This is a fix-up for commit 4ebbfcf
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

@encukou encukou merged commit 8b26b23 into python:main Apr 30, 2025
48 checks passed
@encukou encukou deleted the test_join_finished_daemon_thread_in_finalization branch April 30, 2025 13:14
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