From c6fac89f8b3c561f88af406e1b25ae87b5e43231 Mon Sep 17 00:00:00 2001 From: Hao Zhou Date: Wed, 3 Jan 2024 19:25:11 +0000 Subject: [PATCH] add data race detection in test --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 54f28989..281e23c0 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ verify: ## Run unit tests test: verify - go test ./pkg/... ./controllers/... ./webhooks/... -coverprofile cover.out + go test -race ./pkg/... ./controllers/... ./webhooks/... -coverprofile cover.out test-e2e: KUBE_CONFIG_PATH=${KUBE_CONFIG_PATH} REGION=${AWS_REGION} CLUSTER_NAME=${CLUSTER_NAME} ./scripts/test/run-integration-tests.sh