Skip to content

Commit

Permalink
fix search flake
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vrothberg committed Oct 21, 2022
1 parent 4e29ce2 commit 7a9c14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7a9c14d

Please sign in to comment.