mirror of
https://github.com/containers/podman.git
synced 2025-06-29 06:57:13 +08:00
fix search flake
There's no guarantee that the searched image will be returned, so only make sure that "alpine" is mentioned somewhere. Fixes: #16248 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -76,7 +76,7 @@ registries = ['{{.Host}}:{{.Port}}']`
|
||||
search.WaitWithDefaultTimeout()
|
||||
Expect(search).Should(Exit(0))
|
||||
Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 1))
|
||||
Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/alpine"))
|
||||
Expect(search.OutputToString()).To(ContainSubstring("alpine"))
|
||||
})
|
||||
|
||||
It("podman search single registry flag", func() {
|
||||
|
Reference in New Issue
Block a user