Skip to content

Commit

Permalink
test: unblock test
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Oct 10, 2023
1 parent 376d980 commit 11067a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/quicer_test_lib.erl
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,11 @@ report_active_connections() ->
report_active_connections(LogFun) ->
erlang:garbage_collect(),
{ok, Cnts} = quicer:perf_counters(),
ActiveStrms = proplists:get_value(strm_active, Cnts),
ActiveConns = proplists:get_value(conn_active, Cnts),
ActiveConns =/= 0 andalso LogFun("active connections: ~p", [ActiveConns]).
0 =/= (ActiveStrms + ActiveConns) andalso
LogFun("active conns: ~p, strms: ~p", [ActiveConns, ActiveConns]).


-spec report_unhandled_messages() -> ok.
report_unhandled_messages() ->
Expand Down

0 comments on commit 11067a8

Please sign in to comment.