summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorAyanda Dube <ayanda.dube@erlang-solutions.com>2015-08-03 18:21:15 +0100
committerAyanda Dube <ayanda.dube@erlang-solutions.com>2015-08-03 18:21:15 +0100
commit585a9690f078d720db62898d04b6405d802bb10c (patch)
tree583ed5b31e7c207fcd9ef89a61620aca956973d2 /test/src
parenta83a9172d1b39b9f49a50880ee8e63fb8fa71f36 (diff)
downloadrabbitmq-server-git-585a9690f078d720db62898d04b6405d802bb10c.tar.gz
Renames queue-master-location header to x-queue-master-locator
Renames rabbit.queue_master_location config key to rabbit.queue_master_locator References #121
Diffstat (limited to 'test/src')
-rw-r--r--test/src/rabbit_tests.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl
index db2e149ec3..4c1489f6aa 100644
--- a/test/src/rabbit_tests.erl
+++ b/test/src/rabbit_tests.erl
@@ -1163,10 +1163,10 @@ test_queue_master_location_policy_validation() ->
OK = fun (JSON) -> ok = Set(JSON) end,
Fail = fun (JSON) -> error = Set(JSON) end,
- OK ("{\"queue-master-location\":\"min-masters\"}"),
- OK ("{\"queue-master-location\":\"client-local\"}"),
- OK ("{\"queue-master-location\":\"random\"}"),
- Fail("{\"queue-master-location\":\"made_up\"}"),
+ OK ("{\"x-queue-master-locator\":\"min-masters\"}"),
+ OK ("{\"x-queue-master-locator\":\"client-local\"}"),
+ OK ("{\"x-queue-master-locator\":\"random\"}"),
+ Fail("{\"x-queue-master-locator\":\"made_up\"}"),
ok = control_action(clear_policy, ["name"]),
passed.