[3.8] bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) by vstinner · Pull Request #15871 · python/cpython

Conversation

@vstinner

  • 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 de2d9ee)

https://bugs.python.org/issue37531

* 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 de2d9ee)

Labels

tests

Tests in the Lib/test dir