summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-28 15:37:50 +0200
committerGitHub <noreply@github.com>2022-03-28 15:37:50 +0200
commit54f808e4dd10de0d3ceec7cadac776b119a293b1 (patch)
tree2bc79b1554e943f61a92f5c14910ab68a13d1263 /test/e2e
parentffe87c0bdfdd5f4be596731b2a31c44745a5dbfa (diff)
parent7989880509a75f2157bdd83b8e697380514af4b7 (diff)
downloadpodman-54f808e4dd10de0d3ceec7cadac776b119a293b1.tar.gz
podman-54f808e4dd10de0d3ceec7cadac776b119a293b1.tar.bz2
podman-54f808e4dd10de0d3ceec7cadac776b119a293b1.zip
Merge pull request #13651 from jwmatthews/fix13650
Fixes errors from 'manifest push' being dropped in remote case
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/manifest_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index 6e029d3a4..230864891 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -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"})