diff options
author | Ashley Cui <acui@redhat.com> | 2022-04-27 16:56:48 -0400 |
---|---|---|
committer | openshift-cherrypick-robot <> | 2022-05-04 18:06:23 +0000 |
commit | d3f406e9f6fe3c33228d0f384f986982640d2f43 (patch) | |
tree | a1eee345deaeeca0efedbde48a8ce4d6fe32af16 /test/e2e/system_reset_test.go | |
parent | c4357f0f7b7a032908abfab358616d82163eaf9e (diff) | |
download | podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.tar.gz podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.tar.bz2 podman-d3f406e9f6fe3c33228d0f384f986982640d2f43.zip |
podman system reset removed machines incorrectly
podman system reset did not clean up machines fully, leaving some config
files, and breaking machines. Now it removes all machines files fully.
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'test/e2e/system_reset_test.go')
-rw-r--r-- | test/e2e/system_reset_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/system_reset_test.go b/test/e2e/system_reset_test.go index ec94bb819..28f2e25ca 100644 --- a/test/e2e/system_reset_test.go +++ b/test/e2e/system_reset_test.go @@ -89,5 +89,12 @@ var _ = Describe("podman system reset", func() { Expect(session).Should(Exit(0)) // default network should exists Expect(session.OutputToStringArray()).To(HaveLen(1)) + + // TODO: machine tests currently don't run outside of the machine test pkg + // no machines are created here to cleanup + session = podmanTest.Podman([]string{"machine", "list", "-q"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToStringArray()).To(BeEmpty()) }) }) |