chore: fix failed tests

This commit is contained in:
JianBo He 2024-07-03 09:55:45 +08:00
parent 7e0bcd4eda
commit 920e039487
1 changed files with 7 additions and 5 deletions

View File

@ -50,12 +50,14 @@ groups() ->
]. ].
init_per_suite(Config) -> init_per_suite(Config) ->
emqx_common_test_helpers:start_apps([]), Apps = emqx_cth_suite:start(
Config. [{emqx, #{}}],
#{work_dir => emqx_cth_suite:work_dir(Config)}
),
[{apps, Apps} | Config].
end_per_suite(_) -> end_per_suite(Config) ->
emqx_common_test_helpers:stop_apps([]), emqx_cth_suite:stop(proplists:get_value(apps, Config)).
ok.
init_per_group(tcp_ppv2, Config) -> init_per_group(tcp_ppv2, Config) ->
ClientFn = emqx_cth_listener:reload_listener_with_ppv2( ClientFn = emqx_cth_listener:reload_listener_with_ppv2(