Merge pull request #10883 from thalesmg/test-flakiness-20230530-b
test(exclusive_sub): fix test flakiness
This commit is contained in:
commit
c43e5b8406
|
@ -120,6 +120,3 @@ clientinfo(InitProps) ->
|
||||||
},
|
},
|
||||||
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).
|
all() -> emqx_common_test_helpers:all(?MODULE).
|
||||||
|
|
||||||
init_per_suite(Config) ->
|
init_per_suite(Config) ->
|
||||||
|
emqx_common_test_helpers:boot_modules(all),
|
||||||
emqx_common_test_helpers:start_apps([]),
|
emqx_common_test_helpers:start_apps([]),
|
||||||
ok = ekka:start(),
|
ok = ekka:start(),
|
||||||
OldConf = emqx:get_config([zones], #{}),
|
OldConf = emqx:get_config([zones], #{}),
|
||||||
|
|
Loading…
Reference in New Issue