Przeglądaj źródła

test(gw): ensure subscription established

JianBo He 4 lat temu
rodzic
commit
9d4268e5e6
1 zmienionych plików z 1 dodań i 0 usunięć
  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)),