refactor: fix log

This commit is contained in:
fengcaiwen
2025-12-24 10:57:41 +08:00
parent 68cd916dd1
commit e7998d4c3e
4 changed files with 30 additions and 12 deletions

View File

@@ -851,6 +851,13 @@ func (u *ut) kubevpnUninstall(ns string) func(t *testing.T) {
if err != nil {
t.Fatal(err)
}
cmd = exec.Command("kubectl", "delete", "ns", ns, "--wait")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err = cmd.Run()
if err != nil {
t.Fatal(err)
}
}
}
return func(t *testing.T) {