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{