test: ensure emqx app stoped for emqx_ctl_SUITE run

This commit is contained in:
Zaiming (Stone) Shi 2022-05-13 11:51:38 +02:00
parent b17a32661e
commit 7207b2fa70
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@
all() -> emqx_common_test_helpers:all(?MODULE).
init_per_suite(Config) ->
%% ensure stopped, this suite tests emqx_ctl process independently
application:stop(emqx),
ok = emqx_logger:set_log_level(emergency),
Config.

View File

@ -40,7 +40,7 @@
]
).
-include("emqx_authn.hrl").
-include_lib("emqx_authn/include/emqx_authn.hrl").
-include_lib("eunit/include/eunit.hrl").
-include_lib("common_test/include/ct.hrl").
-include_lib("emqx/include/emqx_placeholder.hrl").