]> granicus.if.org Git - python/commit
bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Jul 2018 10:10:14 +0000 (03:10 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 10:10:14 +0000 (03:10 -0700)
commiteb700f8c94602feb8c10ad8fc600f55e17e3b092
tree1a362b81c095e14506fcb1bd93054cff5b61a667
parentc1b75b5fb92fda0ac5b931d7b18c1418557cb7c4
bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)

Fix test_forkserver_sigkill() of test_multiprocessing_forkserver:
give more time to the first child process to complete, double the
sleep in the parent process.

Reduce also the child process sleep from 1000 ms to 500 ms, to not change
the total duration of the test.
(cherry picked from commit 07888e1cce89e9bb7dc501e287b4cb126e01c378)

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