test(lwm2m): Fix flaky test
This commit is contained in:
parent
4e9fb00a0e
commit
36f10e929d
|
@ -1928,6 +1928,7 @@ case100_clients_api(Config) ->
|
||||||
%% kickout
|
%% kickout
|
||||||
{204, _} =
|
{204, _} =
|
||||||
request(delete, "/gateway/lwm2m/clients/" ++ binary_to_list(ClientId)),
|
request(delete, "/gateway/lwm2m/clients/" ++ binary_to_list(ClientId)),
|
||||||
|
timer:sleep(100),
|
||||||
{200, #{data := []}} = request(get, "/gateway/lwm2m/clients").
|
{200, #{data := []}} = request(get, "/gateway/lwm2m/clients").
|
||||||
|
|
||||||
case100_subscription_api(Config) ->
|
case100_subscription_api(Config) ->
|
||||||
|
|
Loading…
Reference in New Issue