chore(tests): improve test stability

This commit is contained in:
Ilya Averyanov 2024-05-31 22:27:31 +03:00
parent b232784df2
commit 57741a41e9
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ groups() ->
init_per_suite(Config) ->
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_management,
emqx_mgmt_api_test_util:emqx_dashboard()