]> 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:15:13 +0000 (03:15 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 10:15:13 +0000 (03:15 -0700)
commitae23d8de8d7d810a8dbe1b09ea37590aff3e1aa0
tree8b3352bc8171993d43432bc0ce6bb08497903516
parentd7a0ad7dd7bd7dfbdbf6be2c89fde5a71813628a
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