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
1 changed files with 2 additions and 2 deletions

View File

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