Merge pull request #10883 from thalesmg/test-flakiness-20230530-b

test(exclusive_sub): fix test flakiness
This commit is contained in:
Thales Macedo Garitezi 2023-05-30 15:46:14 -03:00 committed by GitHub
commit c43e5b8406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -120,6 +120,3 @@ clientinfo(InitProps) ->
},
InitProps
).
toggle_auth(Bool) when is_boolean(Bool) ->
emqx_config:put_zone_conf(default, [auth, enable], Bool).

View File

@ -34,6 +34,7 @@
all() -> emqx_common_test_helpers:all(?MODULE).
init_per_suite(Config) ->
emqx_common_test_helpers:boot_modules(all),
emqx_common_test_helpers:start_apps([]),
ok = ekka:start(),
OldConf = emqx:get_config([zones], #{}),