summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2017-06-06 11:56:11 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2017-06-06 11:56:11 +0200
commit2fda08f9e17440a965cb70037b892ac8e7edb2ff (patch)
tree8af36eab3cdc38626c450ec10f1ca3a527b62e92 /test
parent5f9752ca8bbda64a3dff46afe9ea6043cce47006 (diff)
downloadrabbitmq-server-git-2fda08f9e17440a965cb70037b892ac8e7edb2ff.tar.gz
clustering_management_SUITE: join_cluster returns `ok` if successful
... even if the node is already a member. This fixes a failure in the `join_and_part_cluster` testcase.
Diffstat (limited to 'test')
-rw-r--r--test/clustering_management_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clustering_management_SUITE.erl b/test/clustering_management_SUITE.erl
index b0a93ad208..66f6012216 100644
--- a/test/clustering_management_SUITE.erl
+++ b/test/clustering_management_SUITE.erl
@@ -135,7 +135,7 @@ join_and_part_cluster(Config) ->
%% Allow clustering with already clustered node
ok = stop_app(Rabbit),
- {ok, already_member} = join_cluster(Rabbit, Hare),
+ ok = join_cluster(Rabbit, Hare),
ok = start_app(Rabbit),
stop_reset_start(Rabbit),