Fix rare hang in dev_server_wrapper.py.
Once in a long while, dev_server_wrapper would hang when shutting down the
devserver, which would cause VM tests on the builders to fail.
This CL includes the test script used to reproduce the original problem
(which reproduced on the 435th shutdown), and to verify the fix (which ran
though 23,342 iterations before I killed it).
TEST=Ran test script though over 23,000 start/stop iterations without hanging.
Commit-Queue: Don Garrett <email@example.com>
Reviewed-by: Don Garrett <firstname.lastname@example.org>
Tested-by: Don Garrett <email@example.com>
2 files changed