summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2017-01-05 11:25:31 -0800
committerMichael Klishin <michael@clojurewerkz.org>2017-01-05 11:25:31 -0800
commitc6c40352d46aa7f9de8aa412825122871e9aa3a6 (patch)
treedc63e0028abca067399812a7912d533f99647b0f /test
parent06d41a43c553596a7c602a072c533a10f387d23c (diff)
downloadrabbitmq-server-git-c6c40352d46aa7f9de8aa412825122871e9aa3a6.tar.gz
Rename a function
If it returned a map of users to connections then "per_user" would be the perfect name. However, it only returns connections of a single user.
Diffstat (limited to 'test')
-rw-r--r--test/per_user_connection_tracking_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/per_user_connection_tracking_SUITE.erl b/test/per_user_connection_tracking_SUITE.erl
index d602e31d5d..7f93aef1ac 100644
--- a/test/per_user_connection_tracking_SUITE.erl
+++ b/test/per_user_connection_tracking_SUITE.erl
@@ -32,7 +32,7 @@ all() ->
groups() ->
ClusterSize1Tests = [
- single_node_list_per_user,
+ single_node_list_of_user,
single_node_user_deletion_forces_connection_closure
],
ClusterSize2Tests = [
@@ -111,7 +111,7 @@ clear_all_connection_tracking_tables(Config) ->
%% -------------------------------------------------------------------
%% Test cases.
%% -------------------------------------------------------------------
-single_node_list_per_user(Config) ->
+single_node_list_of_user(Config) ->
Username = proplists:get_value(rmq_username, Config),
Username2 = <<"guest2">>,
@@ -240,7 +240,7 @@ connections_in(Config, Username) ->
connections_in(Config, NodeIndex, Username) ->
rabbit_ct_broker_helpers:rpc(Config, NodeIndex,
rabbit_connection_tracking,
- list_per_user, [Username]).
+ list_of_user, [Username]).
all_connections(Config) ->
all_connections(Config, 0).