]> granicus.if.org Git - python/commit
bpo-37421: multiprocessing tests now stop ForkServer (GH-14601)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Jul 2019 14:35:38 +0000 (07:35 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Jul 2019 14:35:38 +0000 (07:35 -0700)
commit229f6e85f8b4d57a2e742e0d3fc361c5bd15f1cb
tree7eba2ca1822b74f9a9fb0bb21cfcfdbbd4e3bfe3
parentb4cd6ba1a028c2624ac7bc93439b9d45f51cfeba
bpo-37421: multiprocessing tests now stop ForkServer (GH-14601)

multiprocessing tests now stop the ForkServer instance if it's
running: close the "alive" file descriptor to ask the server to stop
and then remove its UNIX address.
(cherry picked from commit 8fbeb14312b4c1320d31ad86e69749515879d1c3)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/multiprocessing/forkserver.py
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Tests/2019-07-05-14-47-55.bpo-37421.n8o2to.rst [new file with mode: 0644]