Browse Source

test: update test/emqx_channel_SUITE.erl

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
JianBo He 3 years atrás
parent
commit
a889b0b6a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/emqx/test/emqx_channel_SUITE.erl

+ 1 - 1
apps/emqx/test/emqx_channel_SUITE.erl

@@ -931,7 +931,7 @@ t_handle_kicked_publish_will_msg(_) ->
      _} = emqx_channel:handle_call(kick, channel(#{will_msg => Msg})),
     receive
         {pub, Msg} -> ok
-    after 200 -> ?assert(true)
+    after 200 -> exit(will_message_not_published)
     end.
 
 t_handle_call_discard(_) ->