diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2019-05-03 01:36:52 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2019-05-03 01:36:52 +0300 |
| commit | 0222ee638c1470be813804cf77a12833186ca8be (patch) | |
| tree | cb574279ae95261dd577b93754a4448063356caa | |
| parent | 6ea0a721eab1c0611264eb004286ef4394da0278 (diff) | |
| download | rabbitmq-server-git-0222ee638c1470be813804cf77a12833186ca8be.tar.gz | |
Wording, explain
| -rw-r--r-- | test/queue_master_location_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/queue_master_location_SUITE.erl b/test/queue_master_location_SUITE.erl index 4564c4a486..fa5344667b 100644 --- a/test/queue_master_location_SUITE.erl +++ b/test/queue_master_location_SUITE.erl @@ -132,12 +132,12 @@ declare_policy(Config) -> declare_invalid_policy(Config) -> %% Tests that queue masters location returns 'ok', otherwise the validation of - %% any other parameter might be skipped - and policy accepted which will crash - %% in application + %% any other parameter might be skipped and invalid policy accepted. setup_test_environment(Config), unset_location_config(Config), Policy = [{<<"queue-master-locator">>, <<"min-masters">>}, {<<"ha-mode">>, <<"exactly">>}, + %% this field is expected to be an integer {<<"ha-params">>, <<"2">>}], {error_string, _} = rabbit_ct_broker_helpers:rpc( Config, 0, rabbit_policy, set, |
