Kaydet (Commit) 55b67acb authored tarafından Tomas Tomecek's avatar Tomas Tomecek

tests,integration: ensure container is removed if start fails

Signed-off-by: 's avatarTomas Tomecek <ttomecek@redhat.com>
üst b5fb6d21
......@@ -950,8 +950,8 @@ class AttachContainerTest(helpers.BaseTestCase):
container = self.client.create_container(BUSYBOX, '/bin/sh',
detach=True, stdin_open=True)
id = container['Id']
self.client.start(id)
self.tmp_containers.append(id)
self.client.start(id)
sock = self.client.attach_socket(container, ws=False)
self.assertTrue(sock.fileno() > -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment