Browse Source

test(quic): adapt to new emqtt reconnect mechanism.

William Yang 3 years ago
parent
commit
bd4a84ac0a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      apps/emqx/test/emqx_quic_multistreams_SUITE.erl

+ 4 - 0
apps/emqx/test/emqx_quic_multistreams_SUITE.erl

@@ -1369,6 +1369,8 @@ t_multi_streams_shutdown_ctrl_stream_then_reconnect(Config) ->
     {ok, C} = emqtt:start_link([
         {proto_ver, v5},
         {reconnect, true},
+        {clean_start, false},
+        {clientid, atom_to_binary(?FUNCTION_NAME)},
         %% speedup test
         {connect_timeout, 5}
         | Config
@@ -1583,6 +1585,8 @@ t_multi_streams_remote_shutdown_with_reconnect(Config) ->
     {ok, C} = emqtt:start_link([
         {proto_ver, v5},
         {reconnect, true},
+        {clean_start, false},
+        {clientid, atom_to_binary(?FUNCTION_NAME)},
         %% speedup test
         {connect_timeout, 5}
         | Config