test(gw): ensure subscription established
This commit is contained in:
parent
7c04dbc585
commit
9d4268e5e6
|
@ -384,6 +384,7 @@ t_rest_clienit_info(_) ->
|
||||||
[{<<"id">>, 0},
|
[{<<"id">>, 0},
|
||||||
{<<"destination">>, <<"/queue/foo">>},
|
{<<"destination">>, <<"/queue/foo">>},
|
||||||
{<<"ack">>, <<"client">>}])),
|
{<<"ack">>, <<"client">>}])),
|
||||||
|
timer:sleep(100),
|
||||||
|
|
||||||
{200, Subs} = request(get, ClientPath ++ "/subscriptions"),
|
{200, Subs} = request(get, ClientPath ++ "/subscriptions"),
|
||||||
?assertEqual(1, length(Subs)),
|
?assertEqual(1, length(Subs)),
|
||||||
|
|
Loading…
Reference in New Issue