Add sleep time for tests

This commit is contained in:
Zoltan Papp 2024-07-08 22:42:30 +02:00
parent 7bf0d04bed
commit defdcb631e

View File

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