test: restore boot_modules to all in all SUITEs which change it
This commit is contained in:
parent
2f23f2708e
commit
351b1ce1a1
|
@ -30,6 +30,7 @@ init_per_suite(Config) ->
|
||||||
Config.
|
Config.
|
||||||
|
|
||||||
end_per_suite(_Config) ->
|
end_per_suite(_Config) ->
|
||||||
|
emqx_ct_helpers:boot_modules(all),
|
||||||
emqx_ct_helpers:stop_apps([]).
|
emqx_ct_helpers:stop_apps([]).
|
||||||
|
|
||||||
t_authenticate(_) ->
|
t_authenticate(_) ->
|
||||||
|
|
|
@ -29,6 +29,7 @@ init_per_suite(Config) ->
|
||||||
Config.
|
Config.
|
||||||
|
|
||||||
end_per_suite(_Config) ->
|
end_per_suite(_Config) ->
|
||||||
|
emqx_ct_helpers:boot_modules(all),
|
||||||
emqx_ct_helpers:stop_apps([]).
|
emqx_ct_helpers:stop_apps([]).
|
||||||
|
|
||||||
t_compile_clientid_common_name_alias_placeholders(_Config) ->
|
t_compile_clientid_common_name_alias_placeholders(_Config) ->
|
||||||
|
|
|
@ -39,5 +39,6 @@ t_is_enabled(_) ->
|
||||||
ok = application:set_env(emqx, boot_modules, [router, broker, listeners]),
|
ok = application:set_env(emqx, boot_modules, [router, broker, listeners]),
|
||||||
?assert(emqx_boot:is_enabled(router)),
|
?assert(emqx_boot:is_enabled(router)),
|
||||||
?assert(emqx_boot:is_enabled(broker)),
|
?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).
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ set_special_cfg(PluginsDir) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
end_per_suite(_Config) ->
|
end_per_suite(_Config) ->
|
||||||
|
emqx_ct_helpers:boot_modules(all),
|
||||||
emqx_ct_helpers:stop_apps([]),
|
emqx_ct_helpers:stop_apps([]),
|
||||||
file:delete(get(loaded_file)).
|
file:delete(get(loaded_file)).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue