Skip to content

Commit 097d473

Browse files
author
Matthias Radestock
committed
leave system in clustered state
...when testing clustering. That allows other tests of clustering-related features to commence subsequently.
1 parent de52737 commit 097d473

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/rabbit_tests.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,13 @@ test_cluster_management2(SecondaryNode) ->
430430
ok = control_action(stop_app, []),
431431
{error, {no_running_cluster_nodes, _, _}} =
432432
control_action(reset, []),
433+
434+
%% leave system clustered, with the secondary node as a ram node
433435
ok = control_action(force_reset, []),
436+
ok = control_action(start_app, []),
437+
ok = control_action(force_reset, SecondaryNode, []),
438+
ok = control_action(cluster, SecondaryNode, [NodeS]),
439+
ok = control_action(start_app, SecondaryNode, []),
434440

435441
passed.
436442

0 commit comments

Comments
 (0)