The test starts a thread but doesn't join it, which can lead to test failures with "ENV CHANGED" https://github.com/python/cpython/blob/c62144a02cfae412a9deb4059fae141693a6edc9/Lib/test/_test_multiprocessing.py#L3518-L3521 See also https://github.com/python/cpython/pull/25845 From https://buildbot.python.org/all/#/builders/249/builds/7957/steps/5/logs/stdio: ``` ... test_empty_authkey (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_empty_authkey) ... ok test_multiple_bind (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_multiple_bind) ... ok Warning -- Dangling threads: {<Thread(Thread-13 (run), started 139968890533568)>} ... ``` <!-- gh-linked-prs --> ### Linked PRs * gh-116442 <!-- /gh-linked-prs -->
Activity
pythongh-116439: Ensure thread is joined in test_empty_authkey
colesbury commentedon Mar 6, 2024
Already fixed in #116434