Skip to content

Commit

Permalink
Increase assert_receive_timeout to 200ms
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Nov 27, 2023
1 parent 79192f2 commit a85e985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/ex_webrtc/dtls_transport_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ defmodule ExWebRTC.DTLSTransportTest do
FakeICEAgent.send_dtls(ice, {:connection_state_change, :connected})

assert_receive {:fake_ice, _packets}
assert_receive {:fake_ice, _retransmited}, 1100

assert_receive {:fake_ice, _retransmited},
1000 + ExUnit.configuration()[:assert_receive_timeout]
end

test "will buffer packets and send when connected", %{dtls: dtls, ice: ice} do

Check failure on line 96 in test/ex_webrtc/dtls_transport_test.exs

View workflow job for this annotation

GitHub Actions / Test (OTP 26 / Elixir 1.15)

test will buffer packets and send when connected (ExWebRTC.DTLSTransportTest)
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExUnit.start(capture_log: true)
ExUnit.start(capture_log: true, assert_receive_timeout: 200)

0 comments on commit a85e985

Please sign in to comment.