Sleep 100 milliseconds

This commit is contained in:
Feng Lee 2019-09-20 22:42:33 +08:00
parent d0908bc70f
commit 699fea4869
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ t_detect_check(_) ->
false = emqx_flapping:detect(ClientInfo), false = emqx_flapping:detect(ClientInfo),
false = emqx_flapping:check(ClientInfo), false = emqx_flapping:check(ClientInfo),
true = emqx_flapping:detect(ClientInfo), true = emqx_flapping:detect(ClientInfo),
timer:sleep(50), timer:sleep(100),
true = emqx_flapping:check(ClientInfo), true = emqx_flapping:check(ClientInfo),
timer:sleep(300), timer:sleep(300),
false = emqx_flapping:check(ClientInfo), false = emqx_flapping:check(ClientInfo),