fix(test): reload emqx_plugins after updating the config

This commit is contained in:
Shawn 2021-07-22 18:34:02 +08:00
parent c2e7acc1f1
commit 327a464844
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ init_per_suite(Config) ->
emqx_ct_helpers:boot_modules([]), emqx_ct_helpers:boot_modules([]),
emqx_ct_helpers:start_apps([]), emqx_ct_helpers:start_apps([]),
emqx_config:put([plugins, expand_plugins_dir], DataPath), emqx_config:put([plugins, expand_plugins_dir], DataPath),
?assertEqual(ok, emqx_plugins:load()),
Config. Config.
end_per_suite(_Config) -> end_per_suite(_Config) ->