Merge pull request #13168 from savonarola/0530-fix-mgmt-test

chore(tests): improve test stability
This commit is contained in:
Ilia Averianov 2024-06-03 14:44:12 +03:00 committed by GitHub
commit 193978af90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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()