Просмотр исходного кода

Most common scenario is to use `compose ls` without name option, and list all stacks

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif 5 лет назад
Родитель
Сommit
171ab1bd0c
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      tests/aci-e2e/e2e-aci_test.go
  2. 1 1
      tests/ecs-e2e/e2e-ecs_test.go

+ 1 - 1
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))

+ 1 - 1
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))