test(gw): ensure subscription established

This commit is contained in:
JianBo He 2021-10-20 09:03:59 +08:00
parent 7c04dbc585
commit 9d4268e5e6
1 changed files with 1 additions and 0 deletions

View File

@ -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)),