Fix bug in test case

This commit is contained in:
周子博 2018-10-26 10:46:56 +08:00
parent db2e47470a
commit ffa220a87d
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ mqtt_connect_with_will_props(_) ->
%% Issue #599 %% Issue #599
%% Empty clientId and clean_session = false %% Empty clientId and clean_session = false
{ok, Sock} = emqx_client_sock:connect({127,0,0,1}, 1883, [binary, {packet, raw}, {active, false}], 3000), {ok, Sock} = emqx_client_sock:connect({127,0,0,1}, 1883, [binary, {packet, raw}, {active, false}], 3000),
Packet = raw_send_serialise(?CLIENT3), Packet = raw_send_serialize(?CLIENT3),
emqx_client_sock:send(Sock, Packet), emqx_client_sock:send(Sock, Packet),
emqx_client_sock:close(Sock). emqx_client_sock:close(Sock).