summaryrefslogtreecommitdiff
path: root/test/e2e/pull_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-11-14 12:58:16 -0600
committerbaude <bbaude@redhat.com>2019-11-14 12:58:16 -0600
commit294cef49012b7b0af13889fa66b3303fe678f559 (patch)
treebb4db6c18b78b9eb1839e10586b838e679b96648 /test/e2e/pull_test.go
parent225f22b9d5dfd0d1582a56530142fe8ffb960a91 (diff)
downloadpodman-294cef49012b7b0af13889fa66b3303fe678f559.tar.gz
podman-294cef49012b7b0af13889fa66b3303fe678f559.tar.bz2
podman-294cef49012b7b0af13889fa66b3303fe678f559.zip
use pause image for check all
the pull all tags test can frequently timeout when trying to pull all alpine tags. using the pause image, which is smaller, should provide some relief. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/pull_test.go')
-rw-r--r--test/e2e/pull_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go
index eee0b131b..96340ef30 100644
--- a/test/e2e/pull_test.go
+++ b/test/e2e/pull_test.go
@@ -339,7 +339,7 @@ var _ = Describe("Podman pull", func() {
})
It("podman pull check all tags", func() {
- session := podmanTest.PodmanNoCache([]string{"pull", "--all-tags", "alpine"})
+ session := podmanTest.PodmanNoCache([]string{"pull", "--all-tags", "k8s.gcr.io/pause"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
Expect(session.LineInOuputStartsWith("Pulled Images:")).To(BeTrue())
@@ -348,10 +348,6 @@ var _ = Describe("Podman pull", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 4))
-
- rmi := podmanTest.PodmanNoCache([]string{"rmi", "-a", "-f"})
- rmi.WaitWithDefaultTimeout()
- Expect(rmi.ExitCode()).To(Equal(0))
})
It("podman pull from docker with nonexist --authfile", func() {