Procházet zdrojové kódy

fix: test not updated after rebase

Stefan Strigler před 2 roky
rodič
revize
24df1045de
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      apps/emqx_utils/test/emqx_utils_SUITE.erl

+ 4 - 1
apps/emqx_utils/test/emqx_utils_SUITE.erl

@@ -147,7 +147,10 @@ t_check(_) ->
     [self() ! {msg, I} || I <- lists:seq(1, 5)],
     ?assertEqual(ok, emqx_utils:check_oom(Policy)),
     [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([]).