summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Fedotov <hairyhum@gmail.com>2018-03-16 10:24:01 +0000
committerMichael Klishin <michael@clojurewerkz.org>2018-03-16 17:14:13 +0300
commit5d88f5a4064d310333f2a1df6253a76dd2aaee04 (patch)
treebe040715445032eb389299855f57cc1992b69da1
parent539ed2d9708d70dd299d4e5cab4d61b7cb3157e9 (diff)
downloadrabbitmq-server-git-5d88f5a4064d310333f2a1df6253a76dd2aaee04.tar.gz
Check that default vhost is started on all nodes after restart
(cherry picked from commit 92df428dd6f46aaf6ed69ffa9f79da37ed8aefe5)
-rw-r--r--test/clustering_management_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/clustering_management_SUITE.erl b/test/clustering_management_SUITE.erl
index 1d121c368f..e9f52de3c8 100644
--- a/test/clustering_management_SUITE.erl
+++ b/test/clustering_management_SUITE.erl
@@ -657,7 +657,8 @@ concurrent_default_data_creation1(Rabbit, Hare) ->
[spawn(fun() -> rpc:call(Node, rabbit, start, []) end)
|| Node <- [Rabbit, Hare]],
%% Verify both nodes are started successfully
- [ok = rpc:call(Node, rabbit, await_startup, [Node]) || Node <- [Rabbit, Hare]].
+ [ok = rpc:call(Node, rabbit, await_startup, [Node]) || Node <- [Rabbit, Hare]],
+ [{ok, _Pid} = rpc:call(Node, rabbit_vhost_sup_sup, get_vhost_sup, [<<"/">>]) || Node <- [Rabbit, Hare]].
%% ----------------------------------------------------------------------------
%% Internal utils