Skip to content

Commit

Permalink
Merge pull request #7338 from edsantiago/image_trust_flake_fix
Browse files Browse the repository at this point in the history
flake fix: podman image trust
  • Loading branch information
openshift-merge-robot committed Aug 18, 2020
2 parents c3c902f + 318336a commit 13b307e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/e2e/trust_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ var _ = Describe("Podman trust", func() {
Expect(session.ExitCode()).To(Equal(0))
outArray := session.OutputToStringArray()
Expect(len(outArray)).To(Equal(3))
Expect(outArray[0]).Should(ContainSubstring("accept"))
Expect(outArray[1]).Should(ContainSubstring("reject"))
Expect(outArray[2]).Should(ContainSubstring("signed"))

// image order is not guaranteed. All we can do is check that
// these strings appear in output, we can't cross-check them.
Expect(session.OutputToString()).To(ContainSubstring("accept"))
Expect(session.OutputToString()).To(ContainSubstring("reject"))
Expect(session.OutputToString()).To(ContainSubstring("signed"))
})

It("podman image trust set", func() {
Expand Down

0 comments on commit 13b307e

Please sign in to comment.