Merge "fix race in test_wait on busy server"

This commit is contained in:
Jenkins 2013-09-12 22:04:43 +00:00 committed by Gerrit Code Review
commit c97c8f56c2

View File

@ -1055,7 +1055,7 @@ class TestServer(unittest.TestCase):
self.assertEquals(status, 1)
self.assert_('failed' in pop_stream(f))
# test multiple procs
procs = [MockProcess() for i in range(3)]
procs = [MockProcess(delay=.5) for i in range(3)]
for proc in procs:
proc.start()
server.procs = procs