diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-04 15:57:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 15:57:23 -0400 |
commit | 6e8f6370b805c598859cf203ad59d6761bb564ac (patch) | |
tree | a1eee345deaeeca0efedbde48a8ce4d6fe32af16 /test/e2e | |
parent | c4357f0f7b7a032908abfab358616d82163eaf9e (diff) | |
parent | d3f406e9f6fe3c33228d0f384f986982640d2f43 (diff) | |
download | podman-6e8f6370b805c598859cf203ad59d6761bb564ac.tar.gz podman-6e8f6370b805c598859cf203ad59d6761bb564ac.tar.bz2 podman-6e8f6370b805c598859cf203ad59d6761bb564ac.zip |
Merge pull request #14117 from openshift-cherrypick-robot/cherry-pick-14066-to-v4.1
[v4.1] podman system reset removed machines incorrectly
Diffstat (limited to 'test/e2e')
-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()) }) }) |