From ba1f33a10ef0de0fb19f34a91b338426dbeaae8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=A7=80=E5=90=89?= <84045975+thc1006@users.noreply.github.com> Date: Thu, 17 Jul 2025 03:41:00 +0800 Subject: [PATCH] Update Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 蔡秀吉 <84045975+thc1006@users.noreply.github.com> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0785fdb2e..5daa8d70d 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ ACCEPTANCE_RUN_TESTS=. PKG := ./... TAGS := TESTS := . +TESTARGS := -shuffle=on -count=3 TESTFLAGS := LDFLAGS := -w -s GOFLAGS := @@ -104,7 +105,7 @@ test: test-unit test-unit: @echo @echo "==> Running unit tests <==" - go test $(GOFLAGS) -run $(TESTS) $(PKG) $(TESTFLAGS) + go test $(GOFLAGS) -run $(TESTS) $(PKG) $(TESTFLAGS) $(TESTARGS) @echo @echo "==> Running unit test(s) with ldflags <==" # Test to check the deprecation warnings on Kubernetes templates created by `helm create` against the current Kubernetes