diff options
| author | Daniil Fedotov <dfedotov@pivotal.io> | 2016-10-20 14:33:13 +0100 |
|---|---|---|
| committer | Daniil Fedotov <dfedotov@pivotal.io> | 2016-10-20 14:33:13 +0100 |
| commit | 3ad0b674caaa7a898f525933590acfd4f0d99d3c (patch) | |
| tree | d84819274fac49450202a8c4e87accf5314364b8 /test | |
| parent | c1737b73cdc71c7c6f7de94bf7508e7c79f0cc40 (diff) | |
| download | rabbitmq-server-git-3ad0b674caaa7a898f525933590acfd4f0d99d3c.tar.gz | |
Do not fail on {cluster_nodes, [node()]} config
Diffstat (limited to 'test')
| -rw-r--r-- | test/clustering_management_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/clustering_management_SUITE.erl b/test/clustering_management_SUITE.erl index 00ddfa48a2..c40d624ddf 100644 --- a/test/clustering_management_SUITE.erl +++ b/test/clustering_management_SUITE.erl @@ -516,13 +516,13 @@ erlang_config(Config) -> assert_not_clustered(Hare), assert_not_clustered(Rabbit), - %% If we use a legacy config file, the node fails to start. + %% List of nodes [node()] is equivalent to {[node()], disk} ok = stop_app(Hare), ok = reset(Hare), ok = rpc:call(Hare, application, set_env, [rabbit, cluster_nodes, [Rabbit]]), - assert_failure(fun () -> start_app(Hare) end), - assert_not_clustered(Rabbit), + ok = start_app(Hare), + assert_clustered([Rabbit, Hare]), %% If we use an invalid node name, the node fails to start. ok = stop_app(Hare), |
