summaryrefslogtreecommitdiff
path: root/test/e2e/push_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-30 16:12:23 +0100
committerGitHub <noreply@github.com>2021-11-30 16:12:23 +0100
commit31bc3586be57f459bc30124ce6dbca98f98836e8 (patch)
treeb125b7fad9f736445c34f6688f5d4dd28513b1bd /test/e2e/push_test.go
parent67d5b21f66beb58f9bfe25451e812a741d5c017d (diff)
parent47a8e7c9f9759f1775a0d59dd292eb375accd903 (diff)
downloadpodman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.gz
podman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.bz2
podman-31bc3586be57f459bc30124ce6dbca98f98836e8.zip
Merge pull request #12451 from vrothberg/backport-12064
[v3.4] container create: fix --tls-verify parsing
Diffstat (limited to 'test/e2e/push_test.go')
-rw-r--r--test/e2e/push_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go
index b7e8309fb..7b35acd35 100644
--- a/test/e2e/push_test.go
+++ b/test/e2e/push_test.go
@@ -146,7 +146,7 @@ var _ = Describe("Podman push", func() {
session = podmanTest.Podman([]string{"logs", "registry"})
session.WaitWithDefaultTimeout()
- push := podmanTest.Podman([]string{"push", "--format=v2s2", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"})
+ push := podmanTest.Podman([]string{"push", "--tls-verify=true", "--format=v2s2", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"})
push.WaitWithDefaultTimeout()
Expect(push).To(ExitWithError())
@@ -163,7 +163,7 @@ var _ = Describe("Podman push", func() {
if !IsRemote() {
// remote does not support --cert-dir
- push = podmanTest.Podman([]string{"push", "--creds=podmantest:test", "--cert-dir=fakedir", ALPINE, "localhost:5000/certdirtest"})
+ push = podmanTest.Podman([]string{"push", "--tls-verify=true", "--creds=podmantest:test", "--cert-dir=fakedir", ALPINE, "localhost:5000/certdirtest"})
push.WaitWithDefaultTimeout()
Expect(push).To(ExitWithError())
}