Merge "fix race in test_wait on busy server"
This commit is contained in:
commit
c97c8f56c2
@ -1055,7 +1055,7 @@ class TestServer(unittest.TestCase):
|
|||||||
self.assertEquals(status, 1)
|
self.assertEquals(status, 1)
|
||||||
self.assert_('failed' in pop_stream(f))
|
self.assert_('failed' in pop_stream(f))
|
||||||
# test multiple procs
|
# test multiple procs
|
||||||
procs = [MockProcess() for i in range(3)]
|
procs = [MockProcess(delay=.5) for i in range(3)]
|
||||||
for proc in procs:
|
for proc in procs:
|
||||||
proc.start()
|
proc.start()
|
||||||
server.procs = procs
|
server.procs = procs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user