Skip to content

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