diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 16:12:14 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 16:12:14 +0100 |
commit | 726a805a3c8b95f91631790b481bb98de8ec5ad8 (patch) | |
tree | d771bee296ffc3b08811a4c5d5c05374c3be4678 | |
parent | 5c6a8fcd40c6b98b442a89b08bdae9cded613e71 (diff) | |
download | rabbitmq-server-726a805a3c8b95f91631790b481bb98de8ec5ad8.tar.gz |
added test
-rw-r--r-- | src/rabbit_tests.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index 842e9f61..fe8d5242 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -675,6 +675,14 @@ test_cluster_management2(SecondaryNode) -> %% join non-existing cluster as a ram node ok = control_action(force_cluster, ["invalid1@invalid", "invalid2@invalid"]), + ok = control_action(start_app, []), + ok = control_action(stop_app, []), + + %% join empty cluster as a ram node + ok = control_action(cluster, []), + ok = control_action(start_app, []), + ok = control_action(stop_app, []), + %% turn ram node into disk node ok = control_action(reset, []), ok = control_action(cluster, [SecondaryNodeS, NodeS]), |