diff options
author | baude <bbaude@redhat.com> | 2021-04-07 13:45:07 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-04-07 15:40:29 -0500 |
commit | b847ba7e30e2713f8ff10082e801a6815a023ef6 (patch) | |
tree | 69501ff0dd782ea5accffaa74d817df811095468 /test/e2e/images_test.go | |
parent | 8c0df1c44a496d30b6e122c4ebc1dae9b5059607 (diff) | |
download | podman-b847ba7e30e2713f8ff10082e801a6815a023ef6.tar.gz podman-b847ba7e30e2713f8ff10082e801a6815a023ef6.tar.bz2 podman-b847ba7e30e2713f8ff10082e801a6815a023ef6.zip |
speed up CI handling of images
now that ci uses cached images, putting the large toolbox image into
cache should help speed up tests.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r-- | test/e2e/images_test.go | 6 |
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() { |