Skip to content

Commit

Permalink
Another test skip
Browse files Browse the repository at this point in the history
No need to fail when we can't clean up. VMs *should* be going away, and
if you're running locally you can clean up yourself 👍
  • Loading branch information
waynew committed Dec 16, 2022
1 parent ed5389a commit 39b079c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions tests/pytests/integration/cli/test_syndic_eauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,17 @@ def all_the_docker(
docker_minion_b1,
docker_minion_b2,
):
container.run("rm -rfv /etc/salt/")
# If you need to debug this ^^^^^^^
# use this vvvvvv
# res = container.run('rm -rfv /etc/salt/')
# print(container)
# print(res.stdout)
try:
container.run("rm -rfv /etc/salt/")
# If you need to debug this ^^^^^^^
# use this vvvvvv
# res = container.run('rm -rfv /etc/salt/')
# print(container)
# print(res.stdout)
except docker.errors.APIError as e:
# if the container isn't running, there's not thing we can do
# at this point.
print(f"Docker failed removing /etc/salt: {e}")


@pytest.fixture(
Expand Down

0 comments on commit 39b079c

Please sign in to comment.