From a6316a90c73fce8bb38b8fa6fd914b41489ea30f Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 7 Dec 2020 12:56:27 +0100 Subject: [PATCH] Removed test checking compose has an error message on default context Signed-off-by: Guillaume Tardif --- tests/e2e/e2e_test.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index d06154904..eb49bc693 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -47,23 +47,6 @@ func TestMain(m *testing.M) { os.Exit(exitCode) } -func TestComposeNotImplemented(t *testing.T) { - c := NewParallelE2eCLI(t, binDir) - res := c.RunDockerCmd("context", "show") - res.Assert(t, icmd.Expected{Out: "default"}) - res = c.RunDockerOrExitError("compose", "up") - res.Assert(t, icmd.Expected{ - ExitCode: 1, - Err: `Command "compose up" not available in current context (default)`, - }) - - res = c.RunDockerOrExitError("compose", "-f", "titi.yaml", "up") - res.Assert(t, icmd.Expected{ - ExitCode: 1, - Err: `Command "compose up" not available in current context (default)`, - }) -} - func TestContextDefault(t *testing.T) { c := NewParallelE2eCLI(t, binDir)