diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-04 13:20:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 13:20:09 -0400 |
commit | ad93318370c8201367ef80042a3c91ff50389e16 (patch) | |
tree | 2c4301b7d232e5a895d7463a21b8c2b59cc9fb0a /test | |
parent | 5c8277d943afdfd62f5713672f389abf2ad8b097 (diff) | |
parent | 80744c644135899a6dcc9fbe1b421dc08fc79802 (diff) | |
download | podman-ad93318370c8201367ef80042a3c91ff50389e16.tar.gz podman-ad93318370c8201367ef80042a3c91ff50389e16.tar.bz2 podman-ad93318370c8201367ef80042a3c91ff50389e16.zip |
Merge pull request #14066 from ashley-cui/sysres
podman system reset removed machines incorrectly
Diffstat (limited to 'test')
-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()) }) }) |