From afdb8ed2f89a3274a03df2541e840dca1ba66474 Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Mon, 24 Sep 2018 15:55:25 +0100 Subject: [PATCH] Check for the right number of dropped messages Was 16, is now 15 after we merged #475 --- src/error_logger_lager_h.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error_logger_lager_h.erl b/src/error_logger_lager_h.erl index b42ce1c..2ef8887 100644 --- a/src/error_logger_lager_h.erl +++ b/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),