test: fix tc t_handle_outing_non_utf8_topic
This commit is contained in:
parent
d39b8caff9
commit
b86d631744
|
@ -338,7 +338,7 @@ t_handle_outing_non_utf8_topic(_) ->
|
|||
StrictOff = #{version => 5, max_size => 16#FFFF, strict_mode => false},
|
||||
StOff = st(#{serialize => StrictOff}),
|
||||
OffResult = emqx_connection:handle_outgoing(Publish, StOff),
|
||||
?assertMatch(ok, OffResult),
|
||||
?assertMatch({ok, _}, OffResult),
|
||||
StrictOn = #{version => 5, max_size => 16#FFFF, strict_mode => true},
|
||||
StOn = st(#{serialize => StrictOn}),
|
||||
?assertError(frame_serialize_error, emqx_connection:handle_outgoing(Publish, StOn)).
|
||||
|
|
Loading…
Reference in New Issue