Skip to content

Commit 6b444ae

Browse files
Exclude this Khepri-specific test from mixed version cluster runs
1 parent d7d1397 commit 6b444ae

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

deps/rabbit/src/rabbit_upgrade_preparation.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ list_with_minimum_quorum_for_cli() ->
9090
[#{
9191
<<"readable_name">> => C,
9292
<<"name">> => C,
93-
<<"virtual_host">> => "-",
93+
<<"virtual_host">> => <<"(not applicable)">>,
9494
<<"type">> => process
9595
} || C <- endangered_critical_components()].

deps/rabbit/test/upgrade_preparation_SUITE.erl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ end_per_group(_Group, Config) ->
5555
rabbit_ct_broker_helpers:teardown_steps()).
5656

5757

58-
init_per_testcase(TestCase, Config) ->
59-
rabbit_ct_helpers:testcase_started(Config, TestCase),
60-
Config.
58+
init_per_testcase(Testcase, Config) when Testcase == await_quorum_plus_one_rabbitmq_metadata ->
59+
case rabbit_ct_helpers:is_mixed_versions() of
60+
true ->
61+
{skip, "not mixed versions compatible"};
62+
_ ->
63+
rabbit_ct_helpers:testcase_started(Config, Testcase)
64+
end;
65+
init_per_testcase(Testcase, Config) ->
66+
rabbit_ct_helpers:testcase_started(Config, Testcase).
6167

6268
end_per_testcase(TestCase, Config) ->
6369
rabbit_ct_helpers:testcase_finished(Config, TestCase).

0 commit comments

Comments
 (0)