1
0
mirror of https://github.com/docker/compose.git synced 2025-04-08 17:05:13 +02:00

Use compose to pull image twice

Signed-off-by: Vedant Koditkar <vedant.koditkar@outlook.com>
This commit is contained in:
Vedant Koditkar 2022-08-14 16:49:59 +05:30
parent 79ed1290a6
commit 25f4cb2ee6

@ -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()