From 2f16ca1e7a09547ad1823a3c64d575fb0440bd5b Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Fri, 14 Aug 2020 09:45:03 +0200 Subject: [PATCH] Fix e2e-local tests when compiled with go1.14 Check https://github.com/golang/go/commit/64cfe9f Signed-off-by: Ulysses Souza --- tests/e2e/e2e_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index e61ae481e..04a7d2966 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -199,7 +199,7 @@ func TestLoginCommandDelegation(t *testing.T) { res := c.RunDockerCmd("login", "-u", "nouser", "-p", "wrongpasword") res.Assert(t, icmd.Expected{ ExitCode: 1, - Err: "Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password", + Err: "unauthorized: incorrect username or password", }) }) @@ -225,7 +225,7 @@ func TestLoginCommandDelegation(t *testing.T) { res := c.RunDockerCmd("login", "-u", "nouser", "-p", "wrongpasword") res.Assert(t, icmd.Expected{ ExitCode: 1, - Err: "Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password", + Err: "unauthorized: incorrect username or password", }) }) }