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