From b6ba95b10c9b3e3c9ef3de6e51c385b0c90b8149 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Wed, 18 Dec 2024 18:00:08 +0100 Subject: [PATCH] Enable `--race` when running tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d54e5c5ec..8cb1a3b37 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ test:: install_plugins @mkdir -p bin go build -o bin ./internal/testing/pulumi-terraform-bridge-test-provider PULUMI_TERRAFORM_BRIDGE_TEST_PROVIDER=$(shell pwd)/bin/pulumi-terraform-bridge-test-provider \ - go test -count=1 -coverprofile="coverage.txt" -coverpkg=./... -timeout 2h -parallel ${TESTPARALLELISM} ./... + go test -race -count=1 -coverprofile="coverage.txt" -coverpkg=./... -timeout 2h -parallel ${TESTPARALLELISM} ./... # Run tests while accepting current output as expected output "golden" # tests. In case where system behavior changes intentionally this can