Преглед изворни кода

test(gw): ensure subscription established

JianBo He пре 4 година
родитељ
комит
9d4268e5e6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      apps/emqx_gateway/test/emqx_stomp_SUITE.erl

+ 1 - 0
apps/emqx_gateway/test/emqx_stomp_SUITE.erl

@@ -384,6 +384,7 @@ t_rest_clienit_info(_) ->
                                     [{<<"id">>, 0},
                                      {<<"destination">>, <<"/queue/foo">>},
                                      {<<"ack">>, <<"client">>}])),
+        timer:sleep(100),
 
         {200, Subs} = request(get, ClientPath ++ "/subscriptions"),
         ?assertEqual(1, length(Subs)),