diff --git a/test/ex_webrtc/peer_connection_test.exs b/test/ex_webrtc/peer_connection_test.exs index 937fc84..487a0f0 100644 --- a/test/ex_webrtc/peer_connection_test.exs +++ b/test/ex_webrtc/peer_connection_test.exs @@ -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