diff --git a/test/emqx_access_control_SUITE.erl b/test/emqx_access_control_SUITE.erl index a03312853..6b684a352 100644 --- a/test/emqx_access_control_SUITE.erl +++ b/test/emqx_access_control_SUITE.erl @@ -30,6 +30,7 @@ init_per_suite(Config) -> Config. end_per_suite(_Config) -> + emqx_ct_helpers:boot_modules(all), emqx_ct_helpers:stop_apps([]). t_authenticate(_) -> diff --git a/test/emqx_access_rule_SUITE.erl b/test/emqx_access_rule_SUITE.erl index c6d569007..772fe455d 100644 --- a/test/emqx_access_rule_SUITE.erl +++ b/test/emqx_access_rule_SUITE.erl @@ -29,6 +29,7 @@ init_per_suite(Config) -> Config. end_per_suite(_Config) -> + emqx_ct_helpers:boot_modules(all), emqx_ct_helpers:stop_apps([]). t_compile_clientid_common_name_alias_placeholders(_Config) -> diff --git a/test/emqx_boot_SUITE.erl b/test/emqx_boot_SUITE.erl index 910238f10..b9f758c84 100644 --- a/test/emqx_boot_SUITE.erl +++ b/test/emqx_boot_SUITE.erl @@ -39,5 +39,6 @@ t_is_enabled(_) -> ok = application:set_env(emqx, boot_modules, [router, broker, listeners]), ?assert(emqx_boot:is_enabled(router)), ?assert(emqx_boot:is_enabled(broker)), - ?assert(emqx_boot:is_enabled(listeners)). + ?assert(emqx_boot:is_enabled(listeners)), + ok = application:set_env(emqx, boot_modules, all). diff --git a/test/emqx_plugins_SUITE.erl b/test/emqx_plugins_SUITE.erl index b26e90743..0dbc1f997 100644 --- a/test/emqx_plugins_SUITE.erl +++ b/test/emqx_plugins_SUITE.erl @@ -47,6 +47,7 @@ set_special_cfg(PluginsDir) -> ok. end_per_suite(_Config) -> + emqx_ct_helpers:boot_modules(all), emqx_ct_helpers:stop_apps([]), file:delete(get(loaded_file)).