Merge pull request #9377 from thalesmg/fix-broken-mod-delayed-test-rv44

test: fix broken mod delayed test
This commit is contained in:
Thales Macedo Garitezi 2022-11-16 13:55:21 -03:00 committed by GitHub
commit 5280626dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ end_per_suite(_) ->
emqx_ct_helpers:stop_apps([emqx_modules]). emqx_ct_helpers:stop_apps([emqx_modules]).
set_special_configs(emqx) -> set_special_configs(emqx) ->
application:set_env(emqx, modules, [{emqx_mod_delayed, []}]), AclFilePath = filename:join(["test", "emqx_SUITE_data", "acl.conf"]),
application:set_env(emqx, modules, [{emqx_mod_delayed, []},
{emqx_mod_acl_internal, [{acl_file, AclFilePath}]}]),
application:set_env(emqx, allow_anonymous, false), application:set_env(emqx, allow_anonymous, false),
application:set_env(emqx, enable_acl_cache, false); application:set_env(emqx, enable_acl_cache, false);
set_special_configs(_App) -> set_special_configs(_App) ->