diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-25 01:55:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 01:55:54 +0200 |
commit | ffb49408f0780ae80a553208aa133bc5bb3ba129 (patch) | |
tree | c1d29d1be3aa593af611fdc7b6982e5afe587bb2 /Python/pyhash.c | |
parent | d7e64d9934d86aa6173229de5af5fe908662a33a (diff) | |
download | cpython-git-ffb49408f0780ae80a553208aa133bc5bb3ba129.tar.gz |
test_multiprocessing detects dangling per test case (#2841)
bpo-26762: test_multiprocessing now detects dangling processes and
threads per test case classes:
* setUpClass()/tearDownClass() of mixin classes now check if
multiprocessing.process._dangling or threading._dangling was
modified to detect "dangling" processses and threads.
* ManagerMixin.tearDownClass() now also emits a warning if it still
has more than one active child process after 5 seconds.
* tearDownModule() now checks for dangling processes and threads
before sleep 500 ms. And it now only sleeps if there is a least one
dangling process or thread.
Diffstat (limited to 'Python/pyhash.c')
0 files changed, 0 insertions, 0 deletions