From e8a4fccb06a2e1ad28f9d3f701d94e19cab28148 Mon Sep 17 00:00:00 2001 From: Yenlin Chen <3822365+hencrice@users.noreply.github.com> Date: Fri, 14 Jun 2019 13:25:56 -0700 Subject: [PATCH] Enabled race detector during the execution of unit tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 61a67860b..170964a1b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ $(LOCAL_BINARY): $(SOURCES) .PHONY: test test: - env -i PATH=$$PATH GOPATH=$$GOPATH GOROOT=$$GOROOT GOCACHE=$$GOCACHE go test -timeout=120s -v -cover ./ecs-cli/modules/... + env -i PATH=$$PATH GOPATH=$$GOPATH GOROOT=$$GOROOT GOCACHE=$$GOCACHE go test -race -timeout=120s -v -cover ./ecs-cli/modules/... .PHONY: integ-test integ-test: integ-test-build integ-test-run-with-coverage