Merge pull request #8080 from HJianBo/clear_exproto_in_right_way

test(gw): clean up exproto confs
This commit is contained in:
JianBo He 2022-05-30 18:48:44 +08:00 committed by GitHub
commit f7f65b1219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ init_per_group(GrpName, Cfg) ->
[{servers, Svrs}, {listener_type, GrpName} | Cfg].
end_per_group(_, Cfg) ->
{ok, _} = emqx:remove_config([gateway, exproto]),
emqx_config:erase(gateway),
emqx_common_test_helpers:stop_apps([emqx_gateway]),
emqx_exproto_echo_svr:stop(proplists:get_value(servers, Cfg)).