diff options
author | Siri Hansen <[email protected]> | 2019-03-25 11:25:53 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-03-25 11:25:53 +0100 |
commit | 11f87e326da88b9658e824832fd1dbc996f27cc3 (patch) | |
tree | e36cef0af521ef05b9b60b5900de7ffbd0208be5 | |
parent | 07f8099865b5a5d38e56684186e52345f955af48 (diff) | |
parent | feec53517352972ca76dbe7e8d5f61b913fdaa10 (diff) | |
download | otp-11f87e326da88b9658e824832fd1dbc996f27cc3.tar.gz otp-11f87e326da88b9658e824832fd1dbc996f27cc3.tar.bz2 otp-11f87e326da88b9658e824832fd1dbc996f27cc3.zip |
Merge branch 'siri/cuddle-master'
* siri/cuddle-master:
[logger] Improve logger_disk_log_h_SUITE:restart_after/1
-rw-r--r-- | lib/kernel/test/logger_disk_log_h_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kernel/test/logger_disk_log_h_SUITE.erl b/lib/kernel/test/logger_disk_log_h_SUITE.erl index 13b30835a1..36d98eaa25 100644 --- a/lib/kernel/test/logger_disk_log_h_SUITE.erl +++ b/lib/kernel/test/logger_disk_log_h_SUITE.erl @@ -1243,12 +1243,12 @@ restart_after(Config) -> {Log,HConfig,DLHConfig} = start_handler(?MODULE, ?FUNCTION_NAME, Config), NewHConfig1 = HConfig#{config=>DLHConfig#{overload_kill_enable=>true, - overload_kill_qlen=>10, + overload_kill_qlen=>4, overload_kill_restart_after=>infinity}}, ok = logger:update_handler_config(?MODULE, NewHConfig1), MRef1 = erlang:monitor(process, whereis(h_proc_name())), %% kill handler - send_burst({n,100}, {spawn,4,0}, {chars,79}, notice), + send_burst({n,100}, {spawn,5,0}, {chars,79}, notice), receive {'DOWN', MRef1, _, _, _Reason1} -> file_delete(Log), @@ -1265,13 +1265,13 @@ restart_after(Config) -> RestartAfter = ?OVERLOAD_KILL_RESTART_AFTER, NewHConfig2 = HConfig#{config=>DLHConfig#{overload_kill_enable=>true, - overload_kill_qlen=>10, + overload_kill_qlen=>4, overload_kill_restart_after=>RestartAfter}}, ok = logger:update_handler_config(?MODULE, NewHConfig2), Pid0 = whereis(h_proc_name()), MRef2 = erlang:monitor(process, Pid0), %% kill handler - send_burst({n,100}, {spawn,4,0}, {chars,79}, notice), + send_burst({n,100}, {spawn,5,0}, {chars,79}, notice), receive {'DOWN', MRef2, _, _, _Reason2} -> file_delete(Log), |