[issue30886] test_handle_called_with_mp_queue() of test_logging leaks a thread on AMD64 FreeBSD 10.x Shared 3.x

STINNER Victor report at bugs.python.org
Sun Jul 9 20:01:09 EDT 2017


STINNER Victor added the comment:

Previous issue which fixed QueueListenerTest of test_logging is bpo-30131:

commit 8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf
Author: Victor Stinner <victor.stinner at gmail.com>
Date:   Wed Apr 26 15:56:25 2017 +0200

    bpo-30131: test_logging now joins queue threads (#1298)
    
    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).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30886>
_______________________________________


More information about the Python-bugs-list mailing list