Skip to content

Commit

Permalink
test: Drop obsolete HACK
Browse files Browse the repository at this point in the history
containers/podman#7180 is fixed and fixed
version is present in all of our images.
  • Loading branch information
marusak committed Nov 2, 2020
1 parent a73d210 commit 585445b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class TestApplication(testlib.MachineCase):
self.restore_dir("/home/admin/.local/share/containers", reboot_safe=True)
# But disable it globally so that "systemctl --user disable" does what we expect
self.machine.execute("systemctl --global disable podman.socket")
# HACK: user podman.service leaks a "podman pause" outside of the unit: https://github.com/containers/podman/issues/7180
self.addCleanup(self.admin_s.execute, "pkill -u $USER -e podman; while pgrep -u $USER -a podman; do sleep 1; done")

self.addCleanup(self.admin_s.execute, "podman rm --force --all; systemctl --user stop podman.service podman.socket")
self.addCleanup(self.machine.execute, "killall -9 podman")
Expand Down

0 comments on commit 585445b

Please sign in to comment.