Skip to content

Commit

Permalink
CDPCP-13247 - include CGO env var property for testacc goal to enable…
Browse files Browse the repository at this point in the history
… race flag on machines where this is not set already
  • Loading branch information
gregito committed Oct 30, 2024
1 parent 8670d9e commit 6c4a17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c4a17d

Please sign in to comment.