Get cluster name using rabbit_nodes to avoid writing not_found

This commit is contained in:
Daniil Fedotov 2016-12-22 15:48:58 +00:00
parent d25128f6c3
commit 22aed07b7d
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ defmodule TestHelper do
end
def get_cluster_name() do
:rpc.call(get_rabbit_hostname, :rabbit_runtime_parameters, :value_global, [:cluster_name])
:rpc.call(get_rabbit_hostname, :rabbit_nodes, :cluster_name, [])
end
def add_vhost(name) do