diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-05 10:55:30 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-05 13:00:47 +0200 |
commit | 6ddccd94f69df853a88901e361792ded9eff1f91 (patch) | |
tree | 0a44643fb5f596e1c6faf390c301c2652e278b93 /test/e2e/pull_test.go | |
parent | 140fb3ae1743e5ae5e94a18a29d53ea819471435 (diff) | |
download | podman-6ddccd94f69df853a88901e361792ded9eff1f91.tar.gz podman-6ddccd94f69df853a88901e361792ded9eff1f91.tar.bz2 podman-6ddccd94f69df853a88901e361792ded9eff1f91.zip |
e2e: pull_test: speed up --all-tags
Pulling the K8s pause image seems unnecessarily expensive to me. Let's
use the testgitest_v2s2 one which is under our control and weighs only a
couple of KB.
This cut the execution time in less than half on my machine. Since it's
network bound and I am running on fibre, I expect more significant speed
ups in slower networks.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test/e2e/pull_test.go')
-rw-r--r-- | test/e2e/pull_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go index 20f0a6b38..55e8d637b 100644 --- a/test/e2e/pull_test.go +++ b/test/e2e/pull_test.go @@ -100,14 +100,14 @@ var _ = Describe("Podman pull", func() { }) It("podman pull check all tags", func() { - session := podmanTest.Podman([]string{"pull", "--all-tags", "k8s.gcr.io/pause"}) + session := podmanTest.Podman([]string{"pull", "--all-tags", "quay.io/libpod/testdigest_v2s2"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) session = podmanTest.Podman([]string{"images"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 4)) + Expect(len(session.OutputToStringArray())).To(BeNumerically(">=", 2), "Expected at least two images") }) It("podman pull from docker with nonexistent --authfile", func() { |