mirror of https://github.com/docker/compose.git
Ignore errors from API about not being able to kill a container.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
afab5c76ea
commit
c64b7cbb10
|
@ -25,8 +25,7 @@ class DockerClientTestCase(unittest.TestCase):
|
|||
for c in self.client.containers(
|
||||
all=True,
|
||||
filters={'label': '%s=composetest' % LABEL_PROJECT}):
|
||||
self.client.kill(c['Id'])
|
||||
self.client.remove_container(c['Id'])
|
||||
self.client.remove_container(c['Id'], force=True)
|
||||
for i in self.client.images(
|
||||
filters={'label': 'com.docker.compose.test_image'}):
|
||||
self.client.remove_image(i)
|
||||
|
|
Loading…
Reference in New Issue