Przeglądaj źródła

test(gw): more robust testing

JianBo He 4 lat temu
rodzic
commit
bc3f3b4c55
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      apps/emqx_gateway/test/emqx_stomp_SUITE.erl

+ 1 - 0
apps/emqx_gateway/test/emqx_stomp_SUITE.erl

@@ -407,6 +407,7 @@ t_rest_clienit_info(_) ->
 
         %% kickout
         {204, _} = request(delete, ClientPath),
+        ignored = gen_server:call(?CM, ignore, infinity). % sync
         ok = emqx_pool:flush_async_tasks(),
         {200, Clients2} = request(get, "/gateway/stomp/clients"),
         ?assertEqual(0, length(maps:get(data, Clients2)))