diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 14:51:55 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 14:51:55 +0100 |
| commit | af67e8736822f1c83a0e1ac3703365b439895803 (patch) | |
| tree | 02f6d95ef5ae6343145b2bea57110bf5d038ce47 /src | |
| parent | eb9405616f86571f9f892b46e41d901444975b38 (diff) | |
| download | rabbitmq-server-git-af67e8736822f1c83a0e1ac3703365b439895803.tar.gz | |
updated docs and tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_tests.erl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index 55d1f52ed3..e014720775 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -601,19 +601,19 @@ test_cluster_management() -> ok = control_action(reset, []), lists:foreach(fun (Arg) -> - ok = control_action(cluster, ["-f" | Arg]), + ok = control_action(force_cluster, Arg), ok end, ClusteringSequence), lists:foreach(fun (Arg) -> ok = control_action(reset, []), - ok = control_action(cluster, ["-f" | Arg]), + ok = control_action(force_cluster, Arg), ok end, ClusteringSequence), ok = control_action(reset, []), lists:foreach(fun (Arg) -> - ok = control_action(cluster, ["-f" | Arg]), + ok = control_action(force_cluster, Arg), ok = control_action(start_app, []), ok = control_action(stop_app, []), ok @@ -621,7 +621,7 @@ test_cluster_management() -> ClusteringSequence), lists:foreach(fun (Arg) -> ok = control_action(reset, []), - ok = control_action(cluster, ["-f" | Arg]), + ok = control_action(force_cluster, Arg), ok = control_action(start_app, []), ok = control_action(stop_app, []), ok @@ -632,13 +632,13 @@ test_cluster_management() -> ok = control_action(reset, []), ok = control_action(start_app, []), ok = control_action(stop_app, []), - ok = control_action(cluster, ["-f", "invalid1@invalid", - "invalid2@invalid"]), + ok = control_action(force_cluster, ["invalid1@invalid", + "invalid2@invalid"]), %% join a non-existing cluster as a ram node ok = control_action(reset, []), - ok = control_action(cluster, ["-f", "invalid1@invalid", - "invalid2@invalid"]), + ok = control_action(force_cluster, ["invalid1@invalid", + "invalid2@invalid"]), SecondaryNode = rabbit_misc:makenode("hare"), case net_adm:ping(SecondaryNode) of |
