Merge pull request #2585 from dnephin/short_signal_handlers
Fix signal handlers by moving shutdown logic out of handler
This commit is contained in:
commit
304a44aeab
4 changed files with 40 additions and 28 deletions
|
|
@ -90,7 +90,8 @@ class ContainerStateCondition(object):
|
|||
return False
|
||||
|
||||
def __str__(self):
|
||||
return "waiting for container to have state %s" % self.expected
|
||||
state = 'running' if self.running else 'stopped'
|
||||
return "waiting for container to be %s" % state
|
||||
|
||||
|
||||
class CLITestCase(DockerClientTestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue