Fix metrics_SUITE connection_metrics flake

This commit is contained in:
Diana Parra Corbacho 2024-10-25 18:02:59 +02:00
parent b351149e2f
commit 4e92841a9f
1 changed files with 5 additions and 3 deletions

View File

@ -208,9 +208,11 @@ connection_metric_count(Config, Ops) ->
fun(Cfg) ->
rabbit_ct_client_helpers:close_connection(Cfg)
end},
[ connection_created,
connection_metrics,
connection_coarse_metrics ]).
%% connection_metrics are asynchronous,
%% emitted on a timer. These have been removed
%% from here as they're already tested on another
%% testcases
[ connection_created ]).
channel_metric_count(Config, Ops) ->
Conn = rabbit_ct_client_helpers:open_unmanaged_connection(Config),