summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2020-04-27 19:00:43 +0000
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-05-12 15:24:57 +0200
commitcc27bb9521db7a37e9cb4812d939878af5602b71 (patch)
treebf3711bfb3cf096dc25262551fdeb05acfb69334 /test
parentc2eaa5a164c94df00b64dec0e7c432c7545decca (diff)
downloadrabbitmq-server-git-cc27bb9521db7a37e9cb4812d939878af5602b71.tar.gz
Revert "Remove calculate_client_local test flake"
This reverts commit 12e3ad79eef8c21b39502f3e3ff55f63ea479e21.
Diffstat (limited to 'test')
-rw-r--r--test/queue_master_location_SUITE.erl11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/queue_master_location_SUITE.erl b/test/queue_master_location_SUITE.erl
index 1049a263c8..694b2e5d11 100644
--- a/test/queue_master_location_SUITE.erl
+++ b/test/queue_master_location_SUITE.erl
@@ -58,7 +58,8 @@ groups() ->
declare_config,
calculate_min_master,
calculate_min_master_with_bindings,
- calculate_random
+ calculate_random,
+ calculate_client_local
]}
].
@@ -248,6 +249,14 @@ calculate_random(Config) ->
verify_random(Config, Q),
ok.
+calculate_client_local(Config) ->
+ setup_test_environment(Config),
+ QueueName = rabbit_misc:r(<<"/">>, queue, Q = <<"qm.test">>),
+ Args = [{<<"x-queue-master-locator">>, longstr, <<"client-local">>}],
+ declare(Config, QueueName, false, false, Args, none),
+ verify_client_local(Config, Q),
+ ok.
+
%%
%% Setup environment
%%