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-08-24 20:14:28 +0300
commit7e77b2e8a7c040f190cf62b7b8e95b4c71290b37 (patch)
tree8d8eb5f473908e6e0ad60d2d06f169c0aed0ec0e /test
parent1a36c2eb03672505137e98860f0dd779a65f9314 (diff)
downloadrabbitmq-server-git-7e77b2e8a7c040f190cf62b7b8e95b4c71290b37.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).