Get cluster name using rabbit_nodes to avoid writing not_found
This commit is contained in:
parent
d25128f6c3
commit
22aed07b7d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue