Skip to content

Commit 6a656fa

Browse files
dcorbachomergify[bot]
authored andcommitted
Fix metrics_SUITE connection_metrics flake
(cherry picked from commit 4e92841)
1 parent cf3a559 commit 6a656fa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

deps/rabbit/test/metrics_SUITE.erl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,11 @@ connection_metric_count(Config, Ops) ->
208208
fun(Cfg) ->
209209
rabbit_ct_client_helpers:close_connection(Cfg)
210210
end},
211-
[ connection_created,
212-
connection_metrics,
213-
connection_coarse_metrics ]).
211+
%% connection_metrics are asynchronous,
212+
%% emitted on a timer. These have been removed
213+
%% from here as they're already tested on another
214+
%% testcases
215+
[ connection_created ]).
214216

215217
channel_metric_count(Config, Ops) ->
216218
Conn = rabbit_ct_client_helpers:open_unmanaged_connection(Config),

0 commit comments

Comments
 (0)