mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-21 18:22:37 +02:00
Add sleep time for tests
This commit is contained in:
parent
7bf0d04bed
commit
defdcb631e
@ -202,6 +202,8 @@ func TestForeginAutoClose(t *testing.T) {
|
|||||||
t.Logf("server 2 closed.")
|
t.Logf("server 2 closed.")
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
// wait for servers to start
|
||||||
|
time.Sleep(300 * time.Second)
|
||||||
idAlice := "alice"
|
idAlice := "alice"
|
||||||
t.Log("connect to server 1.")
|
t.Log("connect to server 1.")
|
||||||
mCtx, cancel := context.WithCancel(ctx)
|
mCtx, cancel := context.WithCancel(ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user