Fix test case

This commit is contained in:
周子博 2019-06-28 14:33:13 +08:00 committed by Shawn
parent 3ad5700442
commit 8234b616e5
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ t_logger_handler(_) ->
{child_type, worker}]}]}, {child_type, worker}]}]},
#{logger_formatter => #{title => "SUPERVISOR REPORT"}, #{logger_formatter => #{title => "SUPERVISOR REPORT"},
report_cb => fun logger:format_otp_report/1}), report_cb => fun logger:format_otp_report/1}),
timer:sleep(20),
?assertEqual(true, lists:keymember(supervisor_report, 1, emqx_alarm_handler:get_alarms())). ?assertEqual(true, lists:keymember(supervisor_report, 1, emqx_alarm_handler:get_alarms())).
raw_send_serialize(Packet) -> raw_send_serialize(Packet) ->