test: ensure emqx app stoped for emqx_ctl_SUITE run
This commit is contained in:
parent
b17a32661e
commit
7207b2fa70
|
@ -25,6 +25,8 @@
|
||||||
all() -> emqx_common_test_helpers:all(?MODULE).
|
all() -> emqx_common_test_helpers:all(?MODULE).
|
||||||
|
|
||||||
init_per_suite(Config) ->
|
init_per_suite(Config) ->
|
||||||
|
%% ensure stopped, this suite tests emqx_ctl process independently
|
||||||
|
application:stop(emqx),
|
||||||
ok = emqx_logger:set_log_level(emergency),
|
ok = emqx_logger:set_log_level(emergency),
|
||||||
Config.
|
Config.
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
]
|
]
|
||||||
).
|
).
|
||||||
|
|
||||||
-include("emqx_authn.hrl").
|
-include_lib("emqx_authn/include/emqx_authn.hrl").
|
||||||
-include_lib("eunit/include/eunit.hrl").
|
-include_lib("eunit/include/eunit.hrl").
|
||||||
-include_lib("common_test/include/ct.hrl").
|
-include_lib("common_test/include/ct.hrl").
|
||||||
-include_lib("emqx/include/emqx_placeholder.hrl").
|
-include_lib("emqx/include/emqx_placeholder.hrl").
|
||||||
|
|
Loading…
Reference in New Issue