test: restore boot_modules to all in all SUITEs which change it

This commit is contained in:
Zaiming (Stone) Shi 2022-12-22 12:03:03 +01:00
parent 2f23f2708e
commit 351b1ce1a1
4 changed files with 5 additions and 1 deletions

View File

@ -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(_) ->

View File

@ -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) ->

View File

@ -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).

View File

@ -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)).