From 34c1beefa5ab147aec08aa69fe446de290420792 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Mon, 16 Mar 2026 14:57:10 +0800 Subject: [PATCH] fix tests Signed-off-by: yxxhero --- pkg/app/app_unittest_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/app/app_unittest_test.go b/pkg/app/app_unittest_test.go index 1ea7e5dd..cf55d57d 100644 --- a/pkg/app/app_unittest_test.go +++ b/pkg/app/app_unittest_test.go @@ -190,7 +190,10 @@ releases: }) t.Run("with dedicated flags", func(t *testing.T) { - expectedFlags := []string{"--namespace", "kube-system", "--failfast", "--color", "--debugPlugin", "--file", "tests/logging/*_test.yaml"} + expectedFlags := []string{"--namespace", "kube-system", "--failfast", "--debugPlugin", "--file", "tests/logging/*_test.yaml"} + if !exectest.IsHelm4Enabled() { + expectedFlags = []string{"--namespace", "kube-system", "--failfast", "--color", "--debugPlugin", "--file", "tests/logging/*_test.yaml"} + } check(t, testcase{ fields: fields{