diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:37:11 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:37:11 +0300 |
| commit | 69fa002aca02ae804eb550cb2ecfa46ba08079c9 (patch) | |
| tree | 8776f4b82beff9bb00adabd1808f8f759f8ac963 /test/src | |
| parent | 571f1a1722674fcef8705b96051c84eabc1c9ca0 (diff) | |
| parent | e8446a21d053445aaa856e300960656dab9ada66 (diff) | |
| download | rabbitmq-server-git-69fa002aca02ae804eb550cb2ecfa46ba08079c9.tar.gz | |
Merge branch 'master' into rabbitmq-server-270
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/credit_flow_test.erl | 7 | ||||
| -rw-r--r-- | test/src/rabbit_tests.erl | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/test/src/credit_flow_test.erl b/test/src/credit_flow_test.erl index db014888eb..4910da3db3 100644 --- a/test/src/credit_flow_test.erl +++ b/test/src/credit_flow_test.erl @@ -22,12 +22,11 @@ test_credit_flow_settings() -> %% default values passed = test_proc(200, 50), - application:set_env(rabbit, credit_flow_initial_credit, 100), - application:set_env(rabbit, credit_flow_more_credit_after, 20), + application:set_env(rabbit, credit_flow_default_credit, {100, 20}), passed = test_proc(100, 20), - application:unset_env(rabbit, credit_flow_initial_credit), - application:unset_env(rabbit, credit_flow_more_credit_after), + application:unset_env(rabbit, credit_flow_default_credit), + % back to defaults passed = test_proc(200, 50), passed. diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl index 98fe080627..57e250637d 100644 --- a/test/src/rabbit_tests.erl +++ b/test/src/rabbit_tests.erl @@ -93,6 +93,8 @@ all_tests0() -> passed = credit_flow_test:test_credit_flow_settings(), passed = on_disk_store_tunable_parameter_validation_test:test_msg_store_parameter_validation(), passed = password_hashing_tests:test_password_hashing(), + passed = credit_flow_test:test_credit_flow_settings(), + passed. do_if_secondary_node(Up, Down) -> |
