mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-05 07:16:54 +08:00
hotfix: fix ssh terminal bug
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user