test(ds): make `emqx_persistent_messages_SUITE` setup cleaner

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
Andrew Mayorov 2023-07-06 18:53:04 +02:00
parent 8c883feb54
commit d91ab7dec9
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@
).
all() ->
[t_messages_persisted].
emqx_common_test_helpers:all(?MODULE).
init_per_suite(Config) ->
{ok, _} = application:ensure_all_started(emqx_durable_storage),
@ -42,6 +42,7 @@ init_per_suite(Config) ->
end_per_suite(_Config) ->
emqx_common_test_helpers:stop_apps([]),
application:stop(emqx_durable_storage),
ok.
t_messages_persisted(_Config) ->