summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-18 10:11:55 -0400
committerGitHub <noreply@github.com>2020-06-18 10:11:55 -0400
commit1099ad6ac947b4ca44e427ec84819d497e1612a1 (patch)
tree79bfe3633e233f857a48ff47c6b9604216f33c37
parent3eb0ad04a8b1d56866a16f1428bb8019927ccfa3 (diff)
parent59cd8a0cfa468bf5ad493ddedfef71480b6250ec (diff)
downloadpodman-1099ad6ac947b4ca44e427ec84819d497e1612a1.tar.gz
podman-1099ad6ac947b4ca44e427ec84819d497e1612a1.tar.bz2
podman-1099ad6ac947b4ca44e427ec84819d497e1612a1.zip
Merge pull request #6669 from vrothberg/unflake-rmi
unflake rmi tests
-rw-r--r--test/e2e/rmi_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go
index b17c03d63..b8cbdc792 100644
--- a/test/e2e/rmi_test.go
+++ b/test/e2e/rmi_test.go
@@ -137,12 +137,12 @@ var _ = Describe("Podman rmi", func() {
Expect(session).Should(Exit(0))
Expect(len(session.OutputToStringArray())).To(Equal(1))
- session = podmanTest.PodmanNoCache([]string{"images", "-q", "-a"})
+ session = podmanTest.PodmanNoCache([]string{"images", "--sort", "created", "--format", "{{.Id}}", "--all"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
Expect(len(session.OutputToStringArray())).To(Equal(2),
"Output from 'podman images -q -a':'%s'", session.Out.Contents())
- untaggedImg := session.OutputToStringArray()[0]
+ untaggedImg := session.OutputToStringArray()[1]
session = podmanTest.PodmanNoCache([]string{"rmi", "-f", untaggedImg})
session.WaitWithDefaultTimeout()