mirror of https://github.com/containers/podman.git
Merge pull request #4518 from baude/alpinetopause
use pause image for check all
This commit is contained in:
commit
d7ed9fa188
|
@ -339,7 +339,7 @@ var _ = Describe("Podman pull", func() {
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman pull check all tags", 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()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session.ExitCode()).To(Equal(0))
|
Expect(session.ExitCode()).To(Equal(0))
|
||||||
Expect(session.LineInOuputStartsWith("Pulled Images:")).To(BeTrue())
|
Expect(session.LineInOuputStartsWith("Pulled Images:")).To(BeTrue())
|
||||||
|
@ -348,10 +348,6 @@ var _ = Describe("Podman pull", func() {
|
||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session.ExitCode()).To(Equal(0))
|
Expect(session.ExitCode()).To(Equal(0))
|
||||||
Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 4))
|
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() {
|
It("podman pull from docker with nonexist --authfile", func() {
|
||||||
|
|
Loading…
Reference in New Issue