fixed multi-node so signal node can start sessions

This commit is contained in:
David Zhao
2021-01-26 23:52:55 -08:00
parent 940b96168d
commit 61db4f5b66
9 changed files with 48 additions and 42 deletions
+1 -1
View File
@@ -115,10 +115,10 @@ func waitUntilConnected(t *testing.T, clients ...*client.RTCClient) {
c := clients[i]
wg.Add(1)
go func() {
defer wg.Done()
if !assert.NoError(t, c.WaitUntilConnected()) {
t.Fatal("one or more clients could not connect")
}
wg.Done()
}()
}
wg.Wait()