summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAyanda-D <ayanda.dube@erlang-solutions.com>2020-06-04 12:12:41 +0100
committerMichael Klishin <michael@clojurewerkz.org>2020-09-02 04:28:57 +0300
commit1250cf2c45a2cc86fae8ae93558498b550971a10 (patch)
tree61ee5c5bded906e6523a0eb041a7af57c22c4250 /test
parenta990345805491b69965a71a546b0c6baab35c069 (diff)
downloadrabbitmq-server-git-1250cf2c45a2cc86fae8ae93558498b550971a10.tar.gz
Update per-vhost connection count references to new API
Diffstat (limited to 'test')
-rw-r--r--test/per_vhost_connection_limit_SUITE.erl2
-rw-r--r--test/per_vhost_connection_limit_partitions_SUITE.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/per_vhost_connection_limit_SUITE.erl b/test/per_vhost_connection_limit_SUITE.erl
index f3e37b0a0c..a0ecbf43ea 100644
--- a/test/per_vhost_connection_limit_SUITE.erl
+++ b/test/per_vhost_connection_limit_SUITE.erl
@@ -137,7 +137,7 @@ clear_all_connection_tracking_tables(Config) ->
[rabbit_ct_broker_helpers:rpc(Config,
N,
rabbit_connection_tracking,
- clear_tracked_connection_tables_for_this_node,
+ clear_tracking_tables,
[]) || N <- rabbit_ct_broker_helpers:get_node_configs(Config, nodename)].
%% -------------------------------------------------------------------
diff --git a/test/per_vhost_connection_limit_partitions_SUITE.erl b/test/per_vhost_connection_limit_partitions_SUITE.erl
index e4c6864ea0..aa190d1f7a 100644
--- a/test/per_vhost_connection_limit_partitions_SUITE.erl
+++ b/test/per_vhost_connection_limit_partitions_SUITE.erl
@@ -140,7 +140,7 @@ count_connections_in(Config, VHost) ->
count_connections_in(Config, VHost, NodeIndex) ->
rabbit_ct_broker_helpers:rpc(Config, NodeIndex,
rabbit_connection_tracking,
- count_connections_in, [VHost]).
+ count_tracked_items, [{vhost, VHost}]).
connections_in(Config, VHost) ->
connections_in(Config, 0, VHost).