diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-18 15:18:30 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-18 15:18:30 +0100 |
commit | 57cdc21b0057e958d78e8e616e26d7231193d991 (patch) | |
tree | 0d6f3c73740a5f885bdb380d4f327fedb73d7537 /test/e2e/login_logout_test.go | |
parent | 3853ef9b598b82115c1609957169614b26320a26 (diff) | |
download | podman-57cdc21b0057e958d78e8e616e26d7231193d991.tar.gz podman-57cdc21b0057e958d78e8e616e26d7231193d991.tar.bz2 podman-57cdc21b0057e958d78e8e616e26d7231193d991.zip |
vendor c/common@0ededd18a1f9
Update the login tests to reflect the latest changes to allow http{s}
prefixes (again) to address bugzilla.redhat.com/show_bug.cgi?id=2062072.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test/e2e/login_logout_test.go')
-rw-r--r-- | test/e2e/login_logout_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/login_logout_test.go b/test/e2e/login_logout_test.go index 1280b3e83..77549a9a8 100644 --- a/test/e2e/login_logout_test.go +++ b/test/e2e/login_logout_test.go @@ -417,12 +417,12 @@ var _ = Describe("Podman login and logout", func() { Expect(authInfo).NotTo(HaveKey(testRepos[1])) }) - It("podman login with repository invalid arguments", func() { + It("podman login with http{s} prefix", func() { authFile := filepath.Join(podmanTest.TempDir, "auth.json") for _, invalidArg := range []string{ "https://" + server + "/podmantest", - server + "/podmantest/image:latest", + "http://" + server + "/podmantest/image:latest", } { session := podmanTest.Podman([]string{ "login", @@ -432,7 +432,7 @@ var _ = Describe("Podman login and logout", func() { invalidArg, }) session.WaitWithDefaultTimeout() - Expect(session).Should(ExitWithError()) + Expect(session).To(Exit(0)) } }) |