Skip to content

Commit 998c351

Browse files
committed
Further test imporvements
1 parent 2e86edc commit 998c351

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/ex_webrtc/peer_connection/twcc_recorder_test.exs

+2-8
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,12 @@ 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)
31-
Process.sleep(15)
30+
Process.sleep(1)
3231
recorder = TWCCRecorder.record_packet(recorder, seq_no_2)
33-
time2 = System.monotonic_time(:millisecond)
34-
Process.sleep(15)
32+
Process.sleep(1)
3533
recorder = TWCCRecorder.record_packet(recorder, seq_no_3)
36-
time3 = System.monotonic_time(:millisecond)
3734
end_seq_no = @seq_no + 3
3835

39-
IO.inspect(time2 - time1, label: :DELTA1)
40-
IO.inspect(time3 - time2, label: :DELTA2)
41-
4236
assert %TWCCRecorder{
4337
timestamps: %{
4438
@seq_no => timestamp_1,

0 commit comments

Comments
 (0)