fix(test): fix flaky property

This commit is contained in:
Thales Macedo Garitezi 2022-04-19 14:57:34 -03:00
parent 1dc9ddeac7
commit ac7a13f9f2
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
2 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,7 @@ do_teardown(_) ->
ok = application:stop(gen_rpc),
ok = meck:unload(gen_rpc),
%% wait for tcp close
timer:sleep(1500).
timer:sleep(2500).
ensure_distributed_nodename() ->
case net_kernel:start([?NODENAME]) of

View File

@ -56,6 +56,7 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
emqx_common_test_helpers:stop_apps([emqx_conf, emqx_dashboard, emqx_modules]),
application:stop(gen_rpc),
ok.
set_special_configs(emqx_dashboard) ->