Merge pull request #14152 from giuseppe/fix-ci-search-json

test: fix "podman search format json"
This commit is contained in:
OpenShift Merge Robot 2022-05-09 05:16:28 -04:00 committed by GitHub
commit 2dcf3067ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -113,11 +113,11 @@ registries = ['{{.Host}}:{{.Port}}']`
})
It("podman search format json", func() {
search := podmanTest.Podman([]string{"search", "--format", "json", "alpine"})
search := podmanTest.Podman([]string{"search", "--format", "json", "busybox"})
search.WaitWithDefaultTimeout()
Expect(search).Should(Exit(0))
Expect(search.OutputToString()).To(BeValidJSON())
Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/alpine"))
Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/busybox"))
// Test for https://github.com/containers/podman/issues/11894
contents := make([]entities.ImageSearchReport, 0)