We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ca5ad commit 6b7f833Copy full SHA for 6b7f833
deps/rabbit/test/quorum_queue_member_reconciliation_SUITE.erl
@@ -90,13 +90,19 @@ end_per_testcase(Testcase, Config) ->
90
reset_nodes([], _Leader) ->
91
ok;
92
reset_nodes([Node| Nodes], Leader) ->
93
+ Members = erpc:call(Leader, rabbit_nodes, all, []),
94
ok = rabbit_control_helper:command(stop_app, Node),
95
case rabbit_control_helper:command(forget_cluster_node, Leader, [atom_to_list(Node)]) of
96
ok -> ok;
97
{error, _, <<"Error:\n{:not_a_cluster_node, ~c\"The node selected is not in the cluster.\"}">>} -> ok
98
end,
99
ok = rabbit_control_helper:command(reset, Node),
100
ok = rabbit_control_helper:command(start_app, Node),
101
+ clustering_utils:assert_cluster_status({[Node], [Node], [Node]}, [Node]),
102
+ RemainingNodes = Members -- [Node],
103
+ clustering_utils:assert_cluster_status(
104
+ {RemainingNodes, RemainingNodes, RemainingNodes},
105
+ [Leader]),
106
reset_nodes(Nodes, Leader).
107
108
0 commit comments