Skip to content

Commit

Permalink
Merge pull request #6707 from ulyssessouza/clean-containers-before-rm
Browse files Browse the repository at this point in the history
Remove remaining containers on test_build_run
  • Loading branch information
ulyssessouza committed May 15, 2019
2 parents b612361 + 8a9575b commit 75d5eb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/acceptance/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,9 @@ def test_build_rm(self):
]
assert containers

for c in self.project.client.containers(all=True):
self.addCleanup(self.project.client.remove_container, c, force=True)

def test_build_shm_size_build_option(self):
pull_busybox(self.client)
self.base_dir = 'tests/fixtures/build-shm-size'
Expand Down

0 comments on commit 75d5eb0

Please sign in to comment.