summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniil Fedotov <dfedotov@pivotal.io>2017-07-27 13:13:11 +0100
committerDaniil Fedotov <dfedotov@pivotal.io>2017-07-31 12:18:00 +0100
commitc36ad89fe024ec2ae450c6fafd61771a6e6ecc06 (patch)
tree2ee6fb657ee8410dedbce70b27dbabd644944d7b /test
parent77101e7fadaac0bf12b862c6c6cf48e08eb97e4b (diff)
downloadrabbitmq-server-git-c36ad89fe024ec2ae450c6fafd61771a6e6ecc06.tar.gz
Refactor vhost supervisor access functions.
Do not start a vhost supervisor when accessing it. Rename functions to be more descriptive.
Diffstat (limited to 'test')
-rw-r--r--test/vhost_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vhost_SUITE.erl b/test/vhost_SUITE.erl
index a519d01af5..c27f79d757 100644
--- a/test/vhost_SUITE.erl
+++ b/test/vhost_SUITE.erl
@@ -280,7 +280,7 @@ force_vhost_failure(Config, Node, VHost, Attempts) ->
get_message_store_pid(Config, VHost) ->
{ok, VHostSup} = rabbit_ct_broker_helpers:rpc(Config, 0,
- rabbit_vhost_sup_sup, vhost_sup, [VHost]),
+ rabbit_vhost_sup_sup, get_vhost_sup, [VHost]),
Children = rabbit_ct_broker_helpers:rpc(Config, 0,
supervisor, which_children,
[VHostSup]),