chore(tests): improve test stability
This commit is contained in:
parent
b232784df2
commit
57741a41e9
|
@ -53,6 +53,10 @@ groups() ->
|
||||||
init_per_suite(Config) ->
|
init_per_suite(Config) ->
|
||||||
Apps = emqx_cth_suite:start(
|
Apps = emqx_cth_suite:start(
|
||||||
[
|
[
|
||||||
|
%% Dashboard implicitly loads full schema so we must make preparations for it
|
||||||
|
%% to be valid (see `emqx_cth_suite:default_appspec(emqx_conf, SuiteOpts)`).
|
||||||
|
%% Otherwise, restarting `emqx` will fail in `t_status_not_ok`
|
||||||
|
emqx_conf,
|
||||||
emqx,
|
emqx,
|
||||||
emqx_management,
|
emqx_management,
|
||||||
emqx_mgmt_api_test_util:emqx_dashboard()
|
emqx_mgmt_api_test_util:emqx_dashboard()
|
||||||
|
|
Loading…
Reference in New Issue