bpo-37531: Enhance regrtest multiprocess timeout by vstinner · Pull Request #15345 · python/cpython

@vstinner

* Write a message when killing a worker process
* Catch exceptions when calling popen.kill()
* Put a timeout when calling popen.communicate() after killing the
  process
* Put a timeout when calling popen.wait()

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
* 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

vstinner added a commit that referenced this pull request

Sep 10, 2019
…-15874)

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

(cherry picked from commit de2d9ee)

vstinner added a commit that referenced this pull request

Sep 10, 2019
* 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)

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
* 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

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020
* 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