test: fix failed test cases
This commit is contained in:
parent
b6bc3cd921
commit
9dff026f50
|
@ -249,7 +249,7 @@ t_case_stomp(_) ->
|
||||||
t_case_exproto(_) ->
|
t_case_exproto(_) ->
|
||||||
Mod = emqx_exproto_SUITE,
|
Mod = emqx_exproto_SUITE,
|
||||||
SvrMod = emqx_exproto_echo_svr,
|
SvrMod = emqx_exproto_echo_svr,
|
||||||
Svrs = SvrMod:start(),
|
Svrs = SvrMod:start(http),
|
||||||
Login = fun(Username, Password, Expect) ->
|
Login = fun(Username, Password, Expect) ->
|
||||||
with_resource(
|
with_resource(
|
||||||
?FUNCTOR(Mod:open(tcp)),
|
?FUNCTOR(Mod:open(tcp)),
|
||||||
|
|
|
@ -332,7 +332,7 @@ t_case_sn_subscribe(_) ->
|
||||||
t_case_exproto_publish(_) ->
|
t_case_exproto_publish(_) ->
|
||||||
Mod = emqx_exproto_SUITE,
|
Mod = emqx_exproto_SUITE,
|
||||||
SvrMod = emqx_exproto_echo_svr,
|
SvrMod = emqx_exproto_echo_svr,
|
||||||
Svrs = SvrMod:start(),
|
Svrs = SvrMod:start(http),
|
||||||
Payload = <<"publish with authz">>,
|
Payload = <<"publish with authz">>,
|
||||||
Publish = fun(Topic, Checker) ->
|
Publish = fun(Topic, Checker) ->
|
||||||
with_resource(
|
with_resource(
|
||||||
|
@ -369,7 +369,7 @@ t_case_exproto_publish(_) ->
|
||||||
t_case_exproto_subscribe(_) ->
|
t_case_exproto_subscribe(_) ->
|
||||||
Mod = emqx_exproto_SUITE,
|
Mod = emqx_exproto_SUITE,
|
||||||
SvrMod = emqx_exproto_echo_svr,
|
SvrMod = emqx_exproto_echo_svr,
|
||||||
Svrs = SvrMod:start(),
|
Svrs = SvrMod:start(http),
|
||||||
WaitTime = 5000,
|
WaitTime = 5000,
|
||||||
Sub = fun(Topic, ErrorCode) ->
|
Sub = fun(Topic, ErrorCode) ->
|
||||||
with_resource(
|
with_resource(
|
||||||
|
|
Loading…
Reference in New Issue