test(gw): fix gateway flaky tests
This commit is contained in:
parent
bed10b097f
commit
907d9a166a
|
@ -79,7 +79,7 @@ end_per_suite(Config) ->
|
|||
emqx_gateway_auth_ct:stop(),
|
||||
ok = emqx_authz_test_lib:restore_authorizers(),
|
||||
emqx_config:erase(gateway),
|
||||
emqx_mgmt_api_test_util:end_suite([cowboy, emqx_authz, emqx_authn, emqx_gateway]),
|
||||
emqx_mgmt_api_test_util:end_suite([emqx_gateway, emqx_authn, emqx_authz, emqx_conf]),
|
||||
Config.
|
||||
|
||||
init_per_testcase(_Case, Config) ->
|
||||
|
|
|
@ -103,7 +103,7 @@ init_per_suite(Config) ->
|
|||
|
||||
end_per_suite(_) ->
|
||||
{ok, _} = emqx:remove_config([gateway, mqttsn]),
|
||||
emqx_mgmt_api_test_util:end_suite([emqx_gateway, emqx_auhtn, emqx_conf]).
|
||||
emqx_mgmt_api_test_util:end_suite([emqx_gateway, emqx_authn, emqx_conf]).
|
||||
|
||||
restart_mqttsn_with_subs_resume_on() ->
|
||||
Conf = emqx:get_raw_config([gateway, mqttsn]),
|
||||
|
|
Loading…
Reference in New Issue