From 9dff026f50983485254cbe17e39d74257a411232 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Fri, 5 May 2023 10:18:58 +0800 Subject: [PATCH] test: fix failed test cases --- apps/emqx_gateway/test/emqx_gateway_authn_SUITE.erl | 2 +- apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/emqx_gateway/test/emqx_gateway_authn_SUITE.erl b/apps/emqx_gateway/test/emqx_gateway_authn_SUITE.erl index 149e6acd6..bb687ae58 100644 --- a/apps/emqx_gateway/test/emqx_gateway_authn_SUITE.erl +++ b/apps/emqx_gateway/test/emqx_gateway_authn_SUITE.erl @@ -249,7 +249,7 @@ t_case_stomp(_) -> t_case_exproto(_) -> Mod = emqx_exproto_SUITE, SvrMod = emqx_exproto_echo_svr, - Svrs = SvrMod:start(), + Svrs = SvrMod:start(http), Login = fun(Username, Password, Expect) -> with_resource( ?FUNCTOR(Mod:open(tcp)), diff --git a/apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl b/apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl index c62e840df..1934ce4ad 100644 --- a/apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl +++ b/apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl @@ -332,7 +332,7 @@ t_case_sn_subscribe(_) -> t_case_exproto_publish(_) -> Mod = emqx_exproto_SUITE, SvrMod = emqx_exproto_echo_svr, - Svrs = SvrMod:start(), + Svrs = SvrMod:start(http), Payload = <<"publish with authz">>, Publish = fun(Topic, Checker) -> with_resource( @@ -369,7 +369,7 @@ t_case_exproto_publish(_) -> t_case_exproto_subscribe(_) -> Mod = emqx_exproto_SUITE, SvrMod = emqx_exproto_echo_svr, - Svrs = SvrMod:start(), + Svrs = SvrMod:start(http), WaitTime = 5000, Sub = fun(Topic, ErrorCode) -> with_resource(