mirror of https://github.com/docker/compose.git
Use compose to pull image twice
Signed-off-by: Vedant Koditkar <vedant.koditkar@outlook.com>
This commit is contained in:
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()
|
||||
|
|
Loading…
Reference in New Issue