]> granicus.if.org Git - python/commit
bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)
authorVictor Stinner <vstinner@redhat.com>
Wed, 27 Jun 2018 20:21:53 +0000 (22:21 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 20:21:53 +0000 (22:21 +0200)
commit64737e9ae2081e529935ecf07f44e89f362d1c4b
treeb6fa94c112542a69dbf3fb880637fd87844561a1
parentd2cbfffc842b00b5257aa1c25dbcdeb456b6a249
bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)

bpo-30339, bpo-33913:

* Increase timeout from 10 seconds to 1 minute in
  test_source_main_skipped_in_children source of
  test_multiprocessing_main_handling.
* Replace time.time() with time.monotonic().
* On timeout, include the duration in the error message.
Lib/test/test_multiprocessing_main_handling.py