Increase test client timeout
This commit is contained in:
@@ -334,7 +334,7 @@ func (c *RTCClient) Run() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *RTCClient) WaitUntilConnected() error {
|
func (c *RTCClient) WaitUntilConnected() error {
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
|||||||
Reference in New Issue
Block a user