Commit 998c351 1 parent 2e86edc commit 998c351 Copy full SHA for 998c351
File tree 1 file changed +2
-8
lines changed
test/ex_webrtc/peer_connection
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,12 @@ defmodule ExWebRTC.PeerConnection.TWCCRecorderTest do
27
27
seq_no_3 = @ seq_no + 2
28
28
29
29
recorder = TWCCRecorder . record_packet ( @ recorder , @ seq_no )
30
- time1 = System . monotonic_time ( :millisecond )
31
- Process . sleep ( 15 )
30
+ Process . sleep ( 1 )
32
31
recorder = TWCCRecorder . record_packet ( recorder , seq_no_2 )
33
- time2 = System . monotonic_time ( :millisecond )
34
- Process . sleep ( 15 )
32
+ Process . sleep ( 1 )
35
33
recorder = TWCCRecorder . record_packet ( recorder , seq_no_3 )
36
- time3 = System . monotonic_time ( :millisecond )
37
34
end_seq_no = @ seq_no + 3
38
35
39
- IO . inspect ( time2 - time1 , label: :DELTA1 )
40
- IO . inspect ( time3 - time2 , label: :DELTA2 )
41
-
42
36
assert % TWCCRecorder {
43
37
timestamps: % {
44
38
@ seq_no => timestamp_1 ,
You can’t perform that action at this time.
0 commit comments