summaryrefslogtreecommitdiff
path: root/test/e2e/rmi_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2021-04-07 13:45:07 -0500
committerbaude <bbaude@redhat.com>2021-04-07 15:40:29 -0500
commitb847ba7e30e2713f8ff10082e801a6815a023ef6 (patch)
tree69501ff0dd782ea5accffaa74d817df811095468 /test/e2e/rmi_test.go
parent8c0df1c44a496d30b6e122c4ebc1dae9b5059607 (diff)
downloadpodman-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/rmi_test.go')
-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 5e6d66d53..03a347a6f 100644
--- a/test/e2e/rmi_test.go
+++ b/test/e2e/rmi_test.go
@@ -221,7 +221,7 @@ var _ = Describe("Podman rmi", func() {
session = podmanTest.Podman([]string{"images", "-q", "-a"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(len(session.OutputToStringArray())).To(Equal(12))
+ Expect(len(session.OutputToStringArray())).To(Equal(len(CACHE_IMAGES) + 1))
podmanTest.BuildImage(dockerfile, "test3", "true")
@@ -236,7 +236,7 @@ var _ = Describe("Podman rmi", func() {
session = podmanTest.Podman([]string{"images", "-q", "-a"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(len(session.OutputToString())).To(Equal(142))
+ Expect(len(session.OutputToString())).To(Equal(155))
})
It("podman rmi -a with no images should be exit 0", func() {