Skip to content

Commit 33bf4a0

Browse files
Merge pull request #12591 from rabbitmq/mergify/bp/v4.0.x/pr-12590
Fix metrics_SUITE connection_metrics flake (backport #12590)
2 parents cf3a559 + 6a656fa commit 33bf4a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

deps/rabbit/test/metrics_SUITE.erl

+5-3
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)