fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2026-03-16 14:57:10 +08:00
parent 5fb3285e7c
commit 34c1beefa5
1 changed files with 4 additions and 1 deletions

View File

@ -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{