From 25f4cb2ee6f7d8b225accab692b9fc5ec5f103dc Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Sun, 14 Aug 2022 16:49:59 +0530 Subject: [PATCH] Use compose to pull image twice Signed-off-by: Vedant Koditkar --- pkg/e2e/compose_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/e2e/compose_test.go b/pkg/e2e/compose_test.go index 43c36ae02..04a9795ce 100644 --- a/pkg/e2e/compose_test.go +++ b/pkg/e2e/compose_test.go @@ -150,8 +150,8 @@ func TestComposePull(t *testing.T) { }) t.Run("Verify skipped pull if image is already present locally", func(t *testing.T) { - // make sure the requied image is present - c.RunDockerCmd(t, "pull", "alpine:3.13.12") + // make sure the required image is present + c.RunDockerComposeCmd(t, "--project-directory", "fixtures/compose-pull/image-present-locally", "pull") res := c.RunDockerComposeCmd(t, "--project-directory", "fixtures/compose-pull/image-present-locally", "pull") output := res.Combined()