Procházet zdrojové kódy

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

test(exclusive_sub): fix test flakiness
Thales Macedo Garitezi před 2 roky
rodič
revize
c43e5b8406

+ 0 - 3
apps/emqx/test/emqx_access_control_SUITE.erl

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

+ 1 - 0
apps/emqx/test/emqx_exclusive_sub_SUITE.erl

@@ -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], #{}),