diff options
Diffstat (limited to 'test/ranch_ct_hook.erl')
-rw-r--r-- | test/ranch_ct_hook.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ranch_ct_hook.erl b/test/ranch_ct_hook.erl index 183cdf5..07f89df 100644 --- a/test/ranch_ct_hook.erl +++ b/test/ranch_ct_hook.erl @@ -17,6 +17,11 @@ -export([init/2]). init(_, _) -> + %% Allow a more relaxed restart intensity because + %% some tests will cause quick restarts of several + %% ranch_sup children. + application:set_env(ranch, ranch_sup_intensity, 10), + application:set_env(ranch, ranch_sup_period, 1), ct_helper:start([ranch]), ct_helper:make_certs_in_ets(), error_logger:add_report_handler(ct_helper_error_h), |