Merge "Actually test child SIGHUP signal"
This commit is contained in:
commit
d987a4a84c
@ -227,7 +227,7 @@ class ServiceLauncherTest(ServiceTestBase):
|
|||||||
|
|
||||||
os.kill(start_workers[0], signal.SIGHUP)
|
os.kill(start_workers[0], signal.SIGHUP)
|
||||||
# Wait at most 5 seconds to respawn a worker
|
# Wait at most 5 seconds to respawn a worker
|
||||||
cond = lambda: start_workers == self._get_workers()
|
cond = lambda: start_workers != self._get_workers()
|
||||||
timeout = 5
|
timeout = 5
|
||||||
self._wait(cond, timeout)
|
self._wait(cond, timeout)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user