Explorar o código

Increase timeout on signal-handling tests

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad %!s(int64=9) %!d(string=hai) anos
pai
achega
85a210d9eb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/acceptance/cli_test.py

+ 2 - 2
tests/acceptance/cli_test.py

@@ -454,14 +454,14 @@ class CLITestCase(DockerClientTestCase):
         wait_on_condition(ContainerCountCondition(self.project, 2))
 
         os.kill(proc.pid, signal.SIGINT)
-        wait_on_condition(ContainerCountCondition(self.project, 0))
+        wait_on_condition(ContainerCountCondition(self.project, 0), timeout=30)
 
     def test_up_handles_sigterm(self):
         proc = start_process(self.base_dir, ['up', '-t', '2'])
         wait_on_condition(ContainerCountCondition(self.project, 2))
 
         os.kill(proc.pid, signal.SIGTERM)
-        wait_on_condition(ContainerCountCondition(self.project, 0))
+        wait_on_condition(ContainerCountCondition(self.project, 0), timeout=30)
 
     def test_run_service_without_links(self):
         self.base_dir = 'tests/fixtures/links-composefile'