From 9d4268e5e609c8aba8caa5cf2204ffe55ab685c7 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Wed, 20 Oct 2021 09:03:59 +0800 Subject: [PATCH] test(gw): ensure subscription established --- apps/emqx_gateway/test/emqx_stomp_SUITE.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/emqx_gateway/test/emqx_stomp_SUITE.erl b/apps/emqx_gateway/test/emqx_stomp_SUITE.erl index 83da59999..8436b7312 100644 --- a/apps/emqx_gateway/test/emqx_stomp_SUITE.erl +++ b/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)),