Skip to content

Commit 9117b20

Browse files
committed
Change make test-unit to have the same go test parameters as make test-in-docker
`make test-in-docker` was changed to disable the printf analyzer, but `make test-unit` wasn't for some reason. The current master isn't compatible with the printf analyzer, so `make test-unit` fails on master without this change.
1 parent cef695b commit 9117b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test-build-tags:
5858
done
5959

6060
test-unit: clean build
61-
go test --test.short -race ./... ${TAGS_FLAG}
61+
go test --test.short -race ./... -vet="${GO_TEST_DEFAULT_ANALYZERS}" ${TAGS_FLAG}
6262

6363
dev-release: dev-release-arch-$(GOARCH)
6464

0 commit comments

Comments
 (0)