diff --git a/apps/emqx_stomp/test/emqx_stomp_SUITE.erl b/apps/emqx_stomp/test/emqx_stomp_SUITE.erl index 9a5d9698e..c8ab88311 100644 --- a/apps/emqx_stomp/test/emqx_stomp_SUITE.erl +++ b/apps/emqx_stomp/test/emqx_stomp_SUITE.erl @@ -100,7 +100,7 @@ t_heartbeat(_) -> {<<"host">>, <<"127.0.0.1:61613">>}, {<<"login">>, <<"guest">>}, {<<"passcode">>, <<"guest">>}, - {<<"heart-beat">>, <<"1000,800">>}])), + {<<"heart-beat">>, <<"1000,2000">>}])), {ok, Data} = gen_tcp:recv(Sock, 0), {ok, #stomp_frame{command = <<"CONNECTED">>, headers = _, diff --git a/apps/emqx_stomp/test/emqx_stomp_heartbeat_SUITE.erl b/apps/emqx_stomp/test/emqx_stomp_heartbeat_SUITE.erl index cbced5f43..b0ce378fd 100644 --- a/apps/emqx_stomp/test/emqx_stomp_heartbeat_SUITE.erl +++ b/apps/emqx_stomp/test/emqx_stomp_heartbeat_SUITE.erl @@ -35,8 +35,7 @@ t_check_1(_) -> {ok, HrtBt1} = emqx_stomp_heartbeat:check(incoming, 0, HrtBt), {error, timeout} = emqx_stomp_heartbeat:check(incoming, 0, HrtBt1), - {ok, HrtBt2} = emqx_stomp_heartbeat:check(outgoing, 0, HrtBt1), - {error, timeout} = emqx_stomp_heartbeat:check(outgoing, 0, HrtBt2), + {error, timeout} = emqx_stomp_heartbeat:check(outgoing, 0, HrtBt1), ok. t_check_2(_) ->