]> granicus.if.org Git - python/commit
bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15871)
authorVictor Stinner <vstinner@redhat.com>
Tue, 10 Sep 2019 15:54:51 +0000 (17:54 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2019 15:54:51 +0000 (17:54 +0200)
commitd42a4fdc630c54352701a466a9e512bee68b5c48
tree51a783608f5c331847cd298abd1b0df40770771c
parent58ef7d341c79f649da275bb1d5c11f668d7bac9e
bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15871)

* 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

(cherry picked from commit de2d9eed8bc628533e1628b843cc4c7a5010f6e5)
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]