diff options
Diffstat (limited to 'test')
| -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, |
