Skip to content

Commit

Permalink
Merge pull request #13651 from jwmatthews/fix13650
Browse files Browse the repository at this point in the history
Fixes errors from 'manifest push' being dropped in remote case
  • Loading branch information
openshift-merge-robot authored Mar 28, 2022
2 parents ffe87c0 + 7989880 commit 54f808e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/e2e/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@ var _ = Describe("Podman manifest", func() {
Expect(err).To(BeNil())
})

It("push with error", func() {
session := podmanTest.Podman([]string{"manifest", "push", "badsrcvalue", "baddestvalue"})
session.WaitWithDefaultTimeout()
Expect(session).Should(ExitWithError())
Expect(session.ErrorToString()).NotTo(BeEmpty())
})

It("push --rm", func() {
SkipIfRemote("remote does not support --rm")
session := podmanTest.Podman([]string{"manifest", "create", "foo"})
Expand Down

0 comments on commit 54f808e

Please sign in to comment.