瀏覽代碼

Merge pull request #10402 from milas/fix-e2e-race

test: fix race in e2e build test
Milas Bowman 2 年之前
父節點
當前提交
f0bf4fca76
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pkg/e2e/build_test.go

+ 2 - 2
pkg/e2e/build_test.go

@@ -257,7 +257,7 @@ func TestBuildImageDependencies(t *testing.T) {
 	}
 
 	t.Run("ClassicBuilder", func(t *testing.T) {
-		cli := NewParallelCLI(t, WithEnv(
+		cli := NewCLI(t, WithEnv(
 			"DOCKER_BUILDKIT=0",
 			"COMPOSE_FILE=./fixtures/build-dependencies/compose.yaml",
 		))
@@ -265,7 +265,7 @@ func TestBuildImageDependencies(t *testing.T) {
 	})
 
 	t.Run("BuildKit", func(t *testing.T) {
-		cli := NewParallelCLI(t, WithEnv(
+		cli := NewCLI(t, WithEnv(
 			"DOCKER_BUILDKIT=1",
 			"COMPOSE_FILE=./fixtures/build-dependencies/compose.yaml",
 		))