Skip to content

Commit febefbd

Browse files
committed
Skip test in mixed-version cluster mode
Otherwise needs to enable stream feature flag. References #4622
1 parent d5635a4 commit febefbd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deps/rabbitmq_management/test/rabbit_mgmt_http_SUITE.erl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,13 @@ init_per_testcase(Testcase = permissions_vhost_test, Config) ->
240240
rabbit_ct_broker_helpers:delete_vhost(Config, <<"myvhost1">>),
241241
rabbit_ct_broker_helpers:delete_vhost(Config, <<"myvhost2">>),
242242
rabbit_ct_helpers:testcase_started(Config, Testcase);
243-
243+
init_per_testcase(Testcase = stream_queues_have_consumers_field, Config) ->
244+
case rabbit_ct_helpers:is_mixed_versions() of
245+
true ->
246+
{skip, "mixed version clusters are not supported"};
247+
_ ->
248+
rabbit_ct_helpers:testcase_started(Config, Testcase)
249+
end;
244250
init_per_testcase(Testcase, Config) ->
245251
rabbit_ct_broker_helpers:close_all_connections(Config, 0, <<"rabbit_mgmt_SUITE:init_per_testcase">>),
246252
rabbit_ct_helpers:testcase_started(Config, Testcase).

0 commit comments

Comments
 (0)