mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
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>
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user