diff --git a/relay/client/manager_test.go b/relay/client/manager_test.go index ca4416766..360cc62f5 100644 --- a/relay/client/manager_test.go +++ b/relay/client/manager_test.go @@ -202,6 +202,8 @@ func TestForeginAutoClose(t *testing.T) { t.Logf("server 2 closed.") }() + // wait for servers to start + time.Sleep(300 * time.Second) idAlice := "alice" t.Log("connect to server 1.") mCtx, cancel := context.WithCancel(ctx)