瀏覽代碼

Check for the right number of dropped messages

Was 16, is now 15 after we merged #475
pull/479/head
Mark Allen 6 年之前
父節點
當前提交
afdb8ed2f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/error_logger_lager_h.erl

+ 1
- 1
src/error_logger_lager_h.erl 查看文件

@ -628,7 +628,7 @@ no_silent_hwm_drops_test_() ->
%and once again
[error_logger:error_msg("Foo1 ~p~n", [K]) || K <- lists:seq(1, 20)],
timer:sleep(1000),
lager_handler_watcher:pop_until("lager_error_logger_h dropped 16 messages in the last second that exceeded the limit of 5 messages/sec",
lager_handler_watcher:pop_until("lager_error_logger_h dropped 15 messages in the last second that exceeded the limit of 5 messages/sec",
fun lists:flatten/1)
after
application:stop(lager),

Loading…
取消
儲存