diff --git a/pkg/e2e/compose_run_test.go b/pkg/e2e/compose_run_test.go index e552e4653..ceec152a8 100644 --- a/pkg/e2e/compose_run_test.go +++ b/pkg/e2e/compose_run_test.go @@ -162,10 +162,10 @@ func TestLocalComposeRun(t *testing.T) { }) t.Run("--quiet-pull", func(t *testing.T) { - res := c.RunDockerComposeCmd(t, "-f", "./fixtures/run-test/compose.yaml", "down", "--rmi", "all") + res := c.RunDockerComposeCmd(t, "-f", "./fixtures/run-test/quiet-pull.yaml", "down", "--rmi", "all") res.Assert(t, icmd.Success) - res = c.RunDockerComposeCmd(t, "-f", "./fixtures/run-test/compose.yaml", "run", "--quiet-pull", "back") + res = c.RunDockerComposeCmd(t, "-f", "./fixtures/run-test/quiet-pull.yaml", "run", "--quiet-pull", "backend") assert.Assert(t, !strings.Contains(res.Combined(), "Pull complete"), res.Combined()) assert.Assert(t, strings.Contains(res.Combined(), "Pulled"), res.Combined()) }) diff --git a/pkg/e2e/fixtures/run-test/quiet-pull.yaml b/pkg/e2e/fixtures/run-test/quiet-pull.yaml new file mode 100644 index 000000000..922676363 --- /dev/null +++ b/pkg/e2e/fixtures/run-test/quiet-pull.yaml @@ -0,0 +1,3 @@ +services: + backend: + image: hello-world \ No newline at end of file