From 36625ed229b74f48ff0ad792328f76a79e4a5f22 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Fri, 24 Mar 2023 10:32:55 -0400 Subject: [PATCH] test: fix race in e2e build test This was running two tests in parallel that would build/delete the same images. Run in serial instead since that's not safe. Signed-off-by: Milas Bowman --- pkg/e2e/build_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/e2e/build_test.go b/pkg/e2e/build_test.go index 0a17bcdb6..aab668a47 100644 --- a/pkg/e2e/build_test.go +++ b/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", ))