Skip to content

Commit a9963ee

Browse files
committed
test: Increase disconnectTimeout to reduce test flakes
WebRTC uses UDP, which means a network connection is never open or closed. It uses timeouts to determine connection state; on a slow CI runner, these timeouts could be reached. Increasing this timeout should reduce flakes, but is unlikely to remove this flake entirely.
1 parent 423611b commit a9963ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peer/conn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
)
2424

2525
const (
26-
disconnectedTimeout = time.Millisecond * 200
26+
disconnectedTimeout = time.Second
2727
failedTimeout = disconnectedTimeout * 5
2828
keepAliveInterval = time.Millisecond * 2
2929
)

0 commit comments

Comments
 (0)