fix(emqx_authz_file_SUITE): fix config_update_crashed error
This commit is contained in:
parent
583624fb8d
commit
b7674fd19f
|
@ -36,6 +36,7 @@ init_per_suite(Config) ->
|
||||||
|
|
||||||
end_per_suite(_Config) ->
|
end_per_suite(_Config) ->
|
||||||
ok = emqx_authz_test_lib:restore_authorizers(),
|
ok = emqx_authz_test_lib:restore_authorizers(),
|
||||||
|
ok = stop_apps([emqx_resource, emqx_connector]),
|
||||||
ok = emqx_common_test_helpers:stop_apps([emqx_authz]).
|
ok = emqx_common_test_helpers:stop_apps([emqx_authz]).
|
||||||
|
|
||||||
init_per_testcase(_TestCase, Config) ->
|
init_per_testcase(_TestCase, Config) ->
|
||||||
|
@ -128,3 +129,6 @@ setup_config(SpecialParams) ->
|
||||||
emqx_authz_test_lib:setup_config(
|
emqx_authz_test_lib:setup_config(
|
||||||
raw_file_authz_config(),
|
raw_file_authz_config(),
|
||||||
SpecialParams).
|
SpecialParams).
|
||||||
|
|
||||||
|
stop_apps(Apps) ->
|
||||||
|
lists:foreach(fun application:stop/1, Apps).
|
||||||
|
|
Loading…
Reference in New Issue