Skip to content

[3.5] bpo-30131: test_logging now joins queue threads (#1298) #1318

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
merged 1 commit into from
Apr 28, 2017
Merged

[3.5] bpo-30131: test_logging now joins queue threads (#1298) #1318

merged 1 commit into from
Apr 28, 2017

Conversation

vstinner
Copy link
Member

QueueListenerTest of test_logging now closes the multiprocessing
Queue and joins its thread to prevent leaking dangling threads to
following tests.

Add also @support.reap_threads to detect earlier if a test leaks
threads (and try to "cleanup" these threads).
(cherry picked from commit 8ca2f2f)

@vstinner vstinner changed the title bpo-30131: test_logging now joins queue threads (#1298) [3.5] bpo-30131: test_logging now joins queue threads (#1298) Apr 27, 2017
QueueListenerTest of test_logging now closes the multiprocessing
Queue and joins its thread to prevent leaking dangling threads to
following tests.

Add also @support.reap_threads to detect earlier if a test leaks
threads (and try to "cleanup" these threads).
(cherry picked from commit 8ca2f2f)
@vstinner vstinner merged commit d855e53 into python:3.5 Apr 28, 2017
@vstinner vstinner deleted the backport-8ca2f2f-3.5 branch April 28, 2017 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants