test(exclusive_sub): fix test flakiness
@@ -120,6 +120,3 @@ clientinfo(InitProps) ->
},
InitProps
).
-
-toggle_auth(Bool) when is_boolean(Bool) ->
- emqx_config:put_zone_conf(default, [auth, enable], Bool).
@@ -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], #{}),