Skip to content

Commit

Permalink
Extend timeout in PC test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfn committed Aug 9, 2024
1 parent 70eca91 commit 2061ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ex_webrtc/peer_connection_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1399,8 +1399,8 @@ defmodule ExWebRTC.PeerConnectionTest do
:ok = PeerConnection.add_ice_candidate(pc1, candidate)

# wait to establish connection
assert_receive {:ex_webrtc, ^pc1, {:connection_state_change, :connected}}, 1000
assert_receive {:ex_webrtc, ^pc2, {:connection_state_change, :connected}}, 1000
assert_receive {:ex_webrtc, ^pc1, {:connection_state_change, :connected}}, 2000
assert_receive {:ex_webrtc, ^pc2, {:connection_state_change, :connected}}, 2000

:ok
end
Expand Down

0 comments on commit 2061ec0

Please sign in to comment.