Fix test case
This commit is contained in:
parent
496bd7ed56
commit
78fe1166b9
|
@ -264,7 +264,7 @@ t_handle_in_frame_error(_) ->
|
||||||
{shutdown, frame_too_large, _Chan} =
|
{shutdown, frame_too_large, _Chan} =
|
||||||
emqx_channel:handle_in({frame_error, frame_too_large}, IdleChannel),
|
emqx_channel:handle_in({frame_error, frame_too_large}, IdleChannel),
|
||||||
ConnectingChan = channel(#{conn_state => connecting}),
|
ConnectingChan = channel(#{conn_state => connecting}),
|
||||||
ConnackPacket = ?CONNACK_PACKET(?RC_MALFORMED_PACKET),
|
ConnackPacket = ?CONNACK_PACKET(?RC_PACKET_TOO_LARGE),
|
||||||
{shutdown, frame_too_large, ConnackPacket, _} =
|
{shutdown, frame_too_large, ConnackPacket, _} =
|
||||||
emqx_channel:handle_in({frame_error, frame_too_large}, ConnectingChan),
|
emqx_channel:handle_in({frame_error, frame_too_large}, ConnectingChan),
|
||||||
DisconnectPacket = ?DISCONNECT_PACKET(?RC_PACKET_TOO_LARGE),
|
DisconnectPacket = ?DISCONNECT_PACKET(?RC_PACKET_TOO_LARGE),
|
||||||
|
|
Loading…
Reference in New Issue