File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
deps/rabbitmq_prometheus/test Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,16 @@ end_per_group_(Config) ->
305
305
rabbit_ct_helpers :run_teardown_steps (Config , rabbit_ct_client_helpers :teardown_steps ()
306
306
++ rabbit_ct_broker_helpers :teardown_steps ()).
307
307
308
+ init_per_testcase (Testcase , Config )
309
+ when Testcase =:= queue_counter_metrics_per_object_test ;
310
+ Testcase =:= queue_exchange_metrics_per_object_test ->
311
+ case rabbit_ct_helpers :is_mixed_versions () of
312
+ false ->
313
+ rabbit_ct_helpers :testcase_started (Config , Testcase );
314
+ true ->
315
+ % % skip the test in mixed version mode
316
+ {skip , " Should not run in mixed version environments" }
317
+ end ;
308
318
init_per_testcase (Testcase , Config ) ->
309
319
rabbit_ct_helpers :testcase_started (Config , Testcase ).
310
320
You can’t perform that action at this time.
0 commit comments