fix: test not updated after rebase
This commit is contained in:
parent
edd1bc579f
commit
24df1045de
|
@ -147,7 +147,10 @@ t_check(_) ->
|
||||||
[self() ! {msg, I} || I <- lists:seq(1, 5)],
|
[self() ! {msg, I} || I <- lists:seq(1, 5)],
|
||||||
?assertEqual(ok, emqx_utils:check_oom(Policy)),
|
?assertEqual(ok, emqx_utils:check_oom(Policy)),
|
||||||
[self() ! {msg, I} || I <- lists:seq(1, 6)],
|
[self() ! {msg, I} || I <- lists:seq(1, 6)],
|
||||||
?assertEqual({shutdown, message_queue_too_long}, emqx_utils:check_oom(Policy)).
|
?assertEqual(
|
||||||
|
{shutdown, #{reason => message_queue_too_long, value => 11, max => 10}},
|
||||||
|
emqx_utils:check_oom(Policy)
|
||||||
|
).
|
||||||
|
|
||||||
drain() ->
|
drain() ->
|
||||||
drain([]).
|
drain([]).
|
||||||
|
|
Loading…
Reference in New Issue