diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-04-15 12:44:38 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-04-15 12:44:38 +0100 |
commit | a86da414a8a26d1235b3c167224281cf22f6a92a (patch) | |
tree | 8da57807e5cbb888c64aa201e72275a08cf6faf4 | |
parent | 35ec50ef6bc9e4a0c946c266c48d2fd01745ebe6 (diff) | |
download | rabbitmq-server-a86da414a8a26d1235b3c167224281cf22f6a92a.tar.gz |
leave system in clustered state
...when testing clustering. That allows other tests of
clustering-related features to commence subsequently.
-rw-r--r-- | src/rabbit_tests.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index df2e71d9..6706ecd1 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -430,7 +430,13 @@ test_cluster_management2(SecondaryNode) -> ok = control_action(stop_app, []), {error, {no_running_cluster_nodes, _, _}} = control_action(reset, []), + + %% leave system clustered, with the secondary node as a ram node ok = control_action(force_reset, []), + ok = control_action(start_app, []), + ok = control_action(force_reset, SecondaryNode, []), + ok = control_action(cluster, SecondaryNode, [NodeS]), + ok = control_action(start_app, SecondaryNode, []), passed. |