Skip to content

Commit 2e86edc

Browse files
committed
Test fixes
1 parent e8cef35 commit 2e86edc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/ex_webrtc/peer_connection/twcc_recorder_test.exs

+6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ defmodule ExWebRTC.PeerConnection.TWCCRecorderTest do
2727
seq_no_3 = @seq_no + 2
2828

2929
recorder = TWCCRecorder.record_packet(@recorder, @seq_no)
30+
time1 = System.monotonic_time(:millisecond)
3031
Process.sleep(15)
3132
recorder = TWCCRecorder.record_packet(recorder, seq_no_2)
33+
time2 = System.monotonic_time(:millisecond)
3234
Process.sleep(15)
3335
recorder = TWCCRecorder.record_packet(recorder, seq_no_3)
36+
time3 = System.monotonic_time(:millisecond)
3437
end_seq_no = @seq_no + 3
3538

39+
IO.inspect(time2 - time1, label: :DELTA1)
40+
IO.inspect(time3 - time2, label: :DELTA2)
41+
3642
assert %TWCCRecorder{
3743
timestamps: %{
3844
@seq_no => timestamp_1,

0 commit comments

Comments
 (0)