Skip to content

Commit 87664e9

Browse files
committed
Remove clustering test that assert on ram nodes.
Ram nodes are a deprecated feature and the actual assertion is quite a complicated once that isn't easy to reason about as it asserts on the cluster view of nodes that that have their rabbit app stopped.
1 parent 8aa2176 commit 87664e9

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

deps/rabbit/test/clustering_management_SUITE.erl

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -924,29 +924,8 @@ change_cluster_when_node_offline(Config) ->
924924
assert_clustered([Rabbit, Hare]),
925925
ok = start_app(Config, Bunny),
926926
assert_not_clustered(Bunny),
927+
ok.
927928

928-
%% Now the same, but Rabbit is a RAM node, and we bring up Bunny
929-
%% before
930-
ok = stop_app(Config, Rabbit),
931-
ok = change_cluster_node_type(Config, Rabbit, ram),
932-
ok = start_app(Config, Rabbit),
933-
stop_join_start(Config, Bunny, Hare),
934-
assert_cluster_status(
935-
{[Rabbit, Hare, Bunny], [Hare, Bunny], [Rabbit, Hare, Bunny]},
936-
[Rabbit, Hare, Bunny]),
937-
ok = stop_app(Config, Rabbit),
938-
ok = stop_app(Config, Bunny),
939-
ok = reset(Config, Bunny),
940-
ok = start_app(Config, Bunny),
941-
assert_not_clustered(Bunny),
942-
assert_cluster_status({[Rabbit, Hare], [Hare], [Hare]}, [Hare]),
943-
assert_cluster_status(
944-
{[Rabbit, Hare, Bunny], [Hare, Bunny], [Hare, Bunny]},
945-
[Rabbit]),
946-
ok = start_app(Config, Rabbit),
947-
assert_cluster_status({[Rabbit, Hare], [Hare], [Rabbit, Hare]},
948-
[Rabbit, Hare]),
949-
assert_not_clustered(Bunny).
950929

951930
update_cluster_nodes(Config) ->
952931
[Rabbit, Hare, Bunny] = cluster_members(Config),

0 commit comments

Comments
 (0)