Increase timeout on signal-handling tests

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-01-13 20:34:07 +00:00
parent ad8faad296
commit 85a210d9eb
1 changed files with 2 additions and 2 deletions

View File

@ -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'