Skip to content

Commit

Permalink
Merge pull request #14152 from giuseppe/fix-ci-search-json
Browse files Browse the repository at this point in the history
test: fix "podman search format json"
  • Loading branch information
openshift-merge-robot authored May 9, 2022
2 parents ccb6211 + bb8f53a commit 2dcf306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2dcf306

Please sign in to comment.