Skip to content

Commit 25f4cb2

Browse files
Use compose to pull image twice
Signed-off-by: Vedant Koditkar <[email protected]>
1 parent 79ed129 commit 25f4cb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/e2e/compose_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ func TestComposePull(t *testing.T) {
150150
})
151151

152152
t.Run("Verify skipped pull if image is already present locally", func(t *testing.T) {
153-
// make sure the requied image is present
154-
c.RunDockerCmd(t, "pull", "alpine:3.13.12")
153+
// make sure the required image is present
154+
c.RunDockerComposeCmd(t, "--project-directory", "fixtures/compose-pull/image-present-locally", "pull")
155155

156156
res := c.RunDockerComposeCmd(t, "--project-directory", "fixtures/compose-pull/image-present-locally", "pull")
157157
output := res.Combined()

0 commit comments

Comments
 (0)