Explorar o código

Use compose to pull image twice

Signed-off-by: Vedant Koditkar <[email protected]>
Vedant Koditkar %!s(int64=3) %!d(string=hai) anos
pai
achega
25f4cb2ee6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pkg/e2e/compose_test.go

+ 2 - 2
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()