소스 검색

Merge pull request #479 from erlang-lager/fix_error_lager_test

Check for the right number of dropped messages
pull/483/head
Mark Allen 6 년 전
committed by GitHub
부모
커밋
6a7647df19
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
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),

불러오는 중...
취소
저장