From 171ab1bd0ccd7f8ec69a03ee9f351a9db3b97dc5 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Tue, 8 Sep 2020 09:10:16 +0200 Subject: [PATCH] Most common scenario is to use `compose ls` without name option, and list all stacks Signed-off-by: Guillaume Tardif --- tests/aci-e2e/e2e-aci_test.go | 2 +- tests/ecs-e2e/e2e-ecs_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/aci-e2e/e2e-aci_test.go b/tests/aci-e2e/e2e-aci_test.go index 6fdf4f6fc..a31335d4c 100644 --- a/tests/aci-e2e/e2e-aci_test.go +++ b/tests/aci-e2e/e2e-aci_test.go @@ -467,7 +467,7 @@ func TestComposeUpUpdate(t *testing.T) { }) t.Run("compose ls", func(t *testing.T) { - res := c.RunDockerCmd("compose", "ls", "--project-name", composeProjectName) + res := c.RunDockerCmd("compose", "ls") lines := strings.Split(strings.TrimSpace(res.Stdout()), "\n") assert.Equal(t, 2, len(lines)) diff --git a/tests/ecs-e2e/e2e-ecs_test.go b/tests/ecs-e2e/e2e-ecs_test.go index b0438d721..41bf5ec85 100644 --- a/tests/ecs-e2e/e2e-ecs_test.go +++ b/tests/ecs-e2e/e2e-ecs_test.go @@ -99,7 +99,7 @@ func TestCompose(t *testing.T) { }) t.Run("compose ls", func(t *testing.T) { - res := c.RunDockerCmd("compose", "ls", "--project-name", stack) + res := c.RunDockerCmd("compose", "ls") lines := strings.Split(strings.TrimSpace(res.Stdout()), "\n") assert.Equal(t, 2, len(lines))