]> granicus.if.org Git - python/commit
bpo-37531: Enhance regrtest multiprocess timeout (GH-15345)
authorVictor Stinner <vstinner@redhat.com>
Wed, 21 Aug 2019 09:59:20 +0000 (10:59 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2019 09:59:20 +0000 (10:59 +0100)
commitde2d9eed8bc628533e1628b843cc4c7a5010f6e5
tree6e211ca3f71ce41d2eb092a8da42b38e2f40db55
parent9ece4a5057d52c42a8a064a6c0c7f923267fb3db
bpo-37531: Enhance regrtest multiprocess timeout (GH-15345)

* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions
Lib/test/libregrtest/runtest_mp.py
Misc/NEWS.d/next/Tests/2019-08-20-19-24-19.bpo-37531.wRoXfU.rst [new file with mode: 0644]