Skip to content

Commit 03f1c43

Browse files
committed
hack/make/go: add -count 1 flag
1 parent b410dc5 commit 03f1c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/make/go.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ test: GO_BUILDTAGS+=${GO_BUILDTAGS_STATIC}
6666
test: GO_FLAGS+=-installsuffix ${GO_INSTALLSUFFIX_STATIC}
6767
test: ## Runs package test including race condition.
6868
$(call target)
69-
@GO111MODULE=on $(GO_TEST) -v -race $(strip $(GO_FLAGS)) -run=$(GO_TEST_FUNC) $(GO_TEST_PKGS)
69+
@GO111MODULE=on $(GO_TEST) -v -race -count 1 $(strip $(GO_FLAGS)) -run=$(GO_TEST_FUNC) $(GO_TEST_PKGS)
7070

7171
.PHONY: bench
7272
bench: GO_LDFLAGS=${GO_LDFLAGS_STATIC}

0 commit comments

Comments
 (0)