]> granicus.if.org Git - python/commit
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Jun 2018 16:38:37 +0000 (09:38 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 16:38:37 +0000 (09:38 -0700)
commit34f2935dca7bb20cd87e42dc41985cc3d688a735
tree4c6c5d9adac364c98a619f3154eef544767e2860
parent7b5856e7f059748f41f37d00abc76be0807d989d
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)

test_mymanager_context() now also accepts -SIGTERM as an expected
exitcode for the manager process. The process is killed with SIGTERM
if it takes longer than 1 second to stop.
(cherry picked from commit fbd7172325e6ce55b6d5d3d7603e4c1c8a219cb8)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/_test_multiprocessing.py