mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-10 01:27:54 +00: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:
parent
3ca8271d53
commit
c7ea09bbb6
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue