working CI test workflow, more reliable transport_test

This commit is contained in:
David Zhao
2021-06-03 22:35:39 -07:00
parent 8f46e0f4da
commit 24919d8ccb
4 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func TestMissingAnswerDuringICERestart(t *testing.T) {
require.NoError(t, transportA.CreateAndSendOffer(nil))
// ensure we are connected the first time
time.Sleep(10 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
require.Equal(t, webrtc.ICEConnectionStateConnected, transportA.pc.ICEConnectionState())
require.Equal(t, webrtc.ICEConnectionStateConnected, transportB.pc.ICEConnectionState())