test(lwm2m): Fix flaky test

This commit is contained in:
k32 2022-01-18 17:36:10 +01:00
parent 4e9fb00a0e
commit 36f10e929d
1 changed files with 1 additions and 0 deletions

View File

@ -1928,6 +1928,7 @@ case100_clients_api(Config) ->
%% kickout
{204, _} =
request(delete, "/gateway/lwm2m/clients/" ++ binary_to_list(ClientId)),
timer:sleep(100),
{200, #{data := []}} = request(get, "/gateway/lwm2m/clients").
case100_subscription_api(Config) ->