Increase test count to improve reliability

Update TESTFLAGS to run unit tests twice (-count=2) instead of once. This helps detect flakey tests and order-dependent issues more effectively, as recommended in #30892.

Signed-off-by: J Taylor <jtaylor@example.com>
Signed-off-by: Jarred Taylor <jarrede20@gmail.com>
pull/31396/head
Jarred Taylor 12 months ago
parent f19bb9cd4c
commit 58572e4e38

@ -21,7 +21,7 @@ ACCEPTANCE_RUN_TESTS = .
PKG := ./... PKG := ./...
TAGS := TAGS :=
TESTS := . TESTS := .
TESTFLAGS := -shuffle=on -count=1 TESTFLAGS := -shuffle=on -count=2
LDFLAGS := -w -s LDFLAGS := -w -s
GOFLAGS := GOFLAGS :=
CGO_ENABLED ?= 0 CGO_ENABLED ?= 0

Loading…
Cancel
Save