Skip to content

Commit 7575331

Browse files
committed
make: use existing unit-race command
This allows us to specify a pkg= and case= argument to the flake-unit-race test.
1 parent bb5a2a6 commit 7575331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ flake-unit-trace:
230230

231231
flake-unit-race:
232232
@$(call print, "Flake hunting races in unit tests.")
233-
while [ $$? -eq 0 ]; do $(GOLIST) | $(XARGS) env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(GOTEST) -race -test.timeout=20m -count=1; done
233+
while [ $$? -eq 0 ]; do make unit-race nocache=1; done
234234

235235
# =============
236236
# FUZZING

0 commit comments

Comments
 (0)