Skip to content

Commit 6b7f833

Browse files
committed
quorum_queue_member_reconciliation_SUITE
1 parent 58ca5ad commit 6b7f833

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deps/rabbit/test/quorum_queue_member_reconciliation_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,19 @@ end_per_testcase(Testcase, Config) ->
9090
reset_nodes([], _Leader) ->
9191
ok;
9292
reset_nodes([Node| Nodes], Leader) ->
93+
Members = erpc:call(Leader, rabbit_nodes, all, []),
9394
ok = rabbit_control_helper:command(stop_app, Node),
9495
case rabbit_control_helper:command(forget_cluster_node, Leader, [atom_to_list(Node)]) of
9596
ok -> ok;
9697
{error, _, <<"Error:\n{:not_a_cluster_node, ~c\"The node selected is not in the cluster.\"}">>} -> ok
9798
end,
9899
ok = rabbit_control_helper:command(reset, Node),
99100
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]),
100106
reset_nodes(Nodes, Leader).
101107

102108

0 commit comments

Comments
 (0)