浏览代码

fix(test case): fix test case

zhouzb 5 年之前
父节点
当前提交
bcb63bcc18
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/emqx_topic_SUITE.erl

+ 1 - 1
test/emqx_topic_SUITE.erl

@@ -189,7 +189,7 @@ t_feed_var(_) ->
                  feed_var(<<"%c">>, <<"clientId">>, <<"username/test/client/%c">>)).
                  feed_var(<<"%c">>, <<"clientId">>, <<"username/test/client/%c">>)).
 
 
 long_topic() ->
 long_topic() ->
-    iolist_to_binary([[integer_to_list(I), "/"] || I <- lists:seq(0, 10000)]).
+    iolist_to_binary([[integer_to_list(I), "/"] || I <- lists:seq(0, 66666)]).
 
 
 t_parse(_) ->
 t_parse(_) ->
     ok = ?catch_error({invalid_topic_filter, <<"$queue/t">>},
     ok = ?catch_error({invalid_topic_filter, <<"$queue/t">>},