test(gw): ensure coap client kicked
This commit is contained in:
parent
5e35e6bcb9
commit
a6c15967d2
|
@ -278,6 +278,7 @@ t_clients_api(_) ->
|
||||||
%% kickout
|
%% kickout
|
||||||
{204, _} =
|
{204, _} =
|
||||||
request(delete, "/gateway/coap/clients/client1"),
|
request(delete, "/gateway/coap/clients/client1"),
|
||||||
|
timer:sleep(200),
|
||||||
{200, #{data := []}} = request(get, "/gateway/coap/clients")
|
{200, #{data := []}} = request(get, "/gateway/coap/clients")
|
||||||
end,
|
end,
|
||||||
with_connection(Fun).
|
with_connection(Fun).
|
||||||
|
|
Loading…
Reference in New Issue