diff --git a/Makefile b/Makefile index 73771273de9..cbf341ce5f9 100644 --- a/Makefile +++ b/Makefile @@ -398,7 +398,7 @@ ifndef CIRCLECI else # Limit the maximum number of tests to run in parallel to 8 for CircleCI due to memory constraints. # Add verbose (-v) so go-junit-report can parse it for CircleCI results - DB_PORT=$(DB_PORT_TEST) go test -v -parallel 8 -count 1 -short $$(go list ./... | grep -v \\/pkg\\/gen\\/ | grep -v \\/cmd\\/ | grep -v mocks) + DB_PORT=$(DB_PORT_TEST) go test -ldflags "$(LDFLAGS)" -v -parallel 8 -count 1 -short $$(go list ./... | grep -v \\/pkg\\/gen\\/ | grep -v \\/cmd\\/ | grep -v mocks) endif server_test_build: