Skip to content

Commit 97b9470

Browse files
author
Loïc Hoguin
committed
MQTT: Fix mqtt_3_1_1_connect_frame/0 function name in test
1 parent 9e10cc3 commit 97b9470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_mqtt/test/proxy_protocol_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ proxy_protocol_v2_local(Config) ->
9797
{ok, Socket} = gen_tcp:connect({127,0,0,1}, Port,
9898
[binary, {active, false}, {packet, raw}]),
9999
ok = inet:send(Socket, ranch_proxy_header:header(ProxyInfo)),
100-
ok = inet:send(Socket, mqtt_3_1_1_connect_packet()),
100+
ok = inet:send(Socket, mqtt_3_1_1_connect_frame()),
101101
{ok, _Packet} = gen_tcp:recv(Socket, 0, ?TIMEOUT),
102102
timer:sleep(10),
103103
ConnectionName = rabbit_ct_broker_helpers:rpc(Config, 0, ?MODULE, connection_name, []),

0 commit comments

Comments
 (0)