summaryrefslogtreecommitdiff
path: root/test/e2e/images_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-08 09:44:40 -0400
committerGitHub <noreply@github.com>2021-04-08 09:44:40 -0400
commite6a5c0ffc1df78bf08aa25f4fe734b46a846a5d7 (patch)
tree5c2f2007f13105845dddc851b098220a04fe23b3 /test/e2e/images_test.go
parentd1f6b2de67eccd36ba2717e8a4e2ab0b74fe4a46 (diff)
parentb847ba7e30e2713f8ff10082e801a6815a023ef6 (diff)
downloadpodman-e6a5c0ffc1df78bf08aa25f4fe734b46a846a5d7.tar.gz
podman-e6a5c0ffc1df78bf08aa25f4fe734b46a846a5d7.tar.bz2
podman-e6a5c0ffc1df78bf08aa25f4fe734b46a846a5d7.zip
Merge pull request #9970 from baude/cispeed
speed up CI handling of images
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r--test/e2e/images_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go
index 29be505b7..098d58033 100644
--- a/test/e2e/images_test.go
+++ b/test/e2e/images_test.go
@@ -78,7 +78,7 @@ var _ = Describe("Podman images", func() {
session = podmanTest.Podman([]string{"images", "-qn"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(len(session.OutputToStringArray())).To(BeNumerically("==", 11))
+ Expect(len(session.OutputToStringArray())).To(BeNumerically("==", len(CACHE_IMAGES)))
})
It("podman images with digests", func() {
@@ -194,7 +194,7 @@ WORKDIR /test
result := podmanTest.Podman([]string{"images", "-q", "-f", "since=quay.io/libpod/alpine:latest"})
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
- Expect(len(result.OutputToStringArray())).To(Equal(8))
+ Expect(len(result.OutputToStringArray())).To(Equal(9))
})
It("podman image list filter after image", func() {
@@ -204,7 +204,7 @@ WORKDIR /test
result := podmanTest.Podman([]string{"image", "list", "-q", "-f", "after=quay.io/libpod/alpine:latest"})
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
- Expect(result.OutputToStringArray()).Should(HaveLen(8), "list filter output: %q", result.OutputToString())
+ Expect(result.OutputToStringArray()).Should(HaveLen(9), "list filter output: %q", result.OutputToString())
})
It("podman images filter dangling", func() {