hotfix: fix ssh terminal bug

This commit is contained in:
naison
2025-02-13 04:46:59 +00:00
parent 4013846cab
commit c947472d47
6 changed files with 111 additions and 48 deletions

View File

@@ -321,12 +321,13 @@ func server(port int) {
func kubevpnConnect(t *testing.T) {
cmd := exec.Command("kubevpn", "proxy", "--debug", "deployments/reviews")
check := func(log string) {
check := func(log string) bool {
line := "+" + strings.Repeat("-", len(log)-2) + "+"
t.Log(line)
t.Log(log)
t.Log(line)
t.Log("\n")
return false
}
stdout, stderr, err := util.RunWithRollingOutWithChecker(cmd, check)
if err != nil {