Browse Source

Merge "Actually test child SIGHUP signal"

Zuul 3 months ago
parent
commit
d987a4a84c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      oslo_service/tests/test_service.py

+ 1
- 1
oslo_service/tests/test_service.py View File

@@ -227,7 +227,7 @@ class ServiceLauncherTest(ServiceTestBase):
227 227
 
228 228
         os.kill(start_workers[0], signal.SIGHUP)
229 229
         # Wait at most 5 seconds to respawn a worker
230
-        cond = lambda: start_workers == self._get_workers()
230
+        cond = lambda: start_workers != self._get_workers()
231 231
         timeout = 5
232 232
         self._wait(cond, timeout)
233 233
 

Loading…
Cancel
Save