Chromium Code Reviews
DescriptionWhen killing wptserve, use Executive.interrupt on non-Windows platforms.
Before http://crrev.com/2624093003, the test runner would hang in a busy
loop while trying to kill wptserve.
After that CL, though, when running run-webkit-tests locally on Linux,
wptserve wouldn't be effectively killed before the next run.
This CL is meant to make it so that it behaves more like it did before
(using interrupt instead of kill for non-Windows platforms), but still
only tries to kill wptserve for 20 seconds, with 1-second sleeps between
attempts.
I tried locally to see what would happen if I undid the change in
http://crrev.com/2624093003 but only changed _stop_running_server to
use kill_process on all platforms (not just Windows), and confirmed that
this apparently doesn't kill the process properly on my workstation.
BUG=669802, 682711
Review-Url: https://codereview.chromium.org/2649433002
Cr-Commit-Position: refs/heads/master@{#444933}
Committed: https://chromium.googlesource.com/chromium/src/+/896b0f4ea756385f66de7b31c52fccf728a02cb6
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||