Skip to content

Commit 0973f3c

Browse files
authored
fix go test (#1329)
Signed-off-by: Evan Baker <[email protected]>
1 parent 3d5660c commit 0973f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,11 @@ COVER_PKG ?= .
500500
test-all: ## run all unit tests.
501501
@$(eval COVER_FILTER=`go list --tags ignore_uncovered,ignore_autogenerated $(COVER_PKG)/... | tr '\n' ','`)
502502
@echo Test coverpkg: $(COVER_FILTER)
503-
go test -tags "unit" -coverpkg=$(COVER_FILTER) -v -race -covermode atomic -failfast -coverprofile=coverage.out $(COVER_PKG)/...
503+
go test -buildvcs=false -tags "unit" -coverpkg=$(COVER_FILTER) -v -race -covermode atomic -failfast -coverprofile=coverage.out $(COVER_PKG)/...
504504

505505

506506
test-integration: ## run all integration tests.
507-
go test -timeout 1h -coverpkg=./... -v -race -covermode atomic -coverprofile=coverage.out -tags=integration ./test/integration...
507+
go test -buildvcs=false -timeout 1h -coverpkg=./... -v -race -covermode atomic -coverprofile=coverage.out -tags=integration ./test/integration...
508508

509509
test-cyclonus: ## run the cyclonus test for npm.
510510
cd test/cyclonus && bash ./test-cyclonus.sh

0 commit comments

Comments
 (0)