Commit 235350a1 authored by Brian Curtin's avatar Brian Curtin

Add a small sleep to let a subprocess start before terminating it.

David Bolen's buildbot isn't know for it's speed, and it seems that we
may have been trying to kill the subprocess before it was fully
initialized. I ran with this change on the bot itself and it seemed to work.
parent f03641ac
......@@ -679,6 +679,7 @@ class Win32KillTests(unittest.TestCase):
# Send a subprocess a signal (or in some cases, just an int to be
# the return value)
proc = subprocess.Popen(*args)
time.sleep(0.5)
os.kill(proc.pid, sig)
self.assertEqual(proc.wait(), sig)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment