From 6c4a17dd50369dd9bd91fa979b3c9d8fdd61f3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Gergely?= Date: Wed, 30 Oct 2024 09:11:17 +0100 Subject: [PATCH] CDPCP-13247 - include CGO env var property for testacc goal to enable race flag on machines where this is not set already --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a683b91..97a740f4 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ test-with-coverage: generate fmt vet # Run terraform provider acceptance tests testacc: - TF_ACC=1 TF_LOG=DEBUG gotestsum --format pkgname --junitfile report.xml -- -failfast -race -coverprofile=coverage.out ./... -run '^TestAcc.*$\' -count=1 -parallel=4 -timeout 90m -v + CGO_ENABLED=1 TF_ACC=1 TF_LOG=DEBUG gotestsum --format pkgname --junitfile report.xml -- -failfast -race -coverprofile=coverage.out ./... -run '^TestAcc.*$\' -count=1 -parallel=4 -timeout 90m -v # Build main binary main: build