Skip to content
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

bpo-38546: multiprocessing tests stop the resource tracker #17641

Open
wants to merge 2 commits into
base: master
from

Conversation

@vstinner
Copy link
Member

vstinner commented Dec 17, 2019

Multiprocessing tests now stop the resource tracker process, to
prevent leaking a child process after tests complete.

Add _cleanup_tests() helper function to multiprocessing.util: share
code between multiprocessing and concurrent.futures tests.

https://bugs.python.org/issue38546

Multiprocessing and concurrent.futures tests now stop the resource
tracker process when tests complete.

Add ResourceTracker._stop() method to
multiprocessing.resource_tracker.

Add _cleanup_tests() helper function to multiprocessing.util: share
code between multiprocessing and concurrent.futures tests.
@vstinner vstinner force-pushed the vstinner:mp_stop_res_tracker branch from 54dbcf4 to 8ff1bb4 Dec 17, 2019
@vstinner

This comment has been minimized.

Copy link
Member Author

vstinner commented Dec 17, 2019

Last July, I wrote a similar fix for forkserver in bpo-37421: commit 8fbeb14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.