From e35d2004916d5d3d4d6bba3f0f2c638f8b3c1e3e Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Thu, 14 Apr 2022 00:00:29 +0000 Subject: [PATCH] fix go test Signed-off-by: Evan Baker --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b246681b2b..bca5c20a79 100644 --- a/Makefile +++ b/Makefile @@ -500,11 +500,11 @@ COVER_PKG ?= . test-all: ## run all unit tests. @$(eval COVER_FILTER=`go list --tags ignore_uncovered,ignore_autogenerated $(COVER_PKG)/... | tr '\n' ','`) @echo Test coverpkg: $(COVER_FILTER) - go test -tags "unit" -coverpkg=$(COVER_FILTER) -v -race -covermode atomic -failfast -coverprofile=coverage.out $(COVER_PKG)/... + go test -buildvcs=false -tags "unit" -coverpkg=$(COVER_FILTER) -v -race -covermode atomic -failfast -coverprofile=coverage.out $(COVER_PKG)/... test-integration: ## run all integration tests. - go test -timeout 1h -coverpkg=./... -v -race -covermode atomic -coverprofile=coverage.out -tags=integration ./test/integration... + go test -buildvcs=false -timeout 1h -coverpkg=./... -v -race -covermode atomic -coverprofile=coverage.out -tags=integration ./test/integration... test-cyclonus: ## run the cyclonus test for npm. cd test/cyclonus && bash ./test-cyclonus.sh