瀏覽代碼

Use compose to pull image twice

Signed-off-by: Vedant Koditkar <[email protected]>
Vedant Koditkar 3 年之前
父節點
當前提交
25f4cb2ee6
共有 1 個文件被更改,包括 2 次插入2 次删除
  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()