From c6769aeef8b2ce045c1ae1828daab072d6b7db54 Mon Sep 17 00:00:00 2001 From: Jacek Kaniuk Date: Fri, 12 Apr 2019 11:37:31 +0200 Subject: [PATCH] Enable race detection in CA test-in-docker make target --- cluster-autoscaler/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/Makefile b/cluster-autoscaler/Makefile index b6ce9d08bcd4..b880087290fc 100644 --- a/cluster-autoscaler/Makefile +++ b/cluster-autoscaler/Makefile @@ -67,7 +67,7 @@ container: build-in-docker make-image @echo "Created in-docker image ${TAG}${FOR_PROVIDER}" test-in-docker: clean docker-builder - docker run -v `pwd`:/gopath/src/k8s.io/autoscaler/cluster-autoscaler/ autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/cluster-autoscaler && godep go test ./... ${TAGS_FLAG}' + docker run -v `pwd`:/gopath/src/k8s.io/autoscaler/cluster-autoscaler/ autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/cluster-autoscaler && godep go test -race ./... ${TAGS_FLAG}' .PHONY: all deps build test-unit clean format execute-release dev-release docker-builder build-in-docker release generate