Merge branch 'stable'

This commit is contained in:
Michael Klishin 2016-09-15 22:13:57 +03:00
commit 06ddafc891
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
2 changed files with 5 additions and 5 deletions

View File

@ -363,7 +363,7 @@ handle_cast({gm_deaths, DeadGMPids},
%% NOTE: Reported deaths here, could be inconsistant. %% NOTE: Reported deaths here, could be inconsistant.
rabbit_mirror_queue_misc:report_deaths(MPid, false, QueueName, rabbit_mirror_queue_misc:report_deaths(MPid, false, QueueName,
DeadPids), DeadPids),
{stop, normal, State}; {stop, shutdown, State};
{error, not_found} -> {error, not_found} ->
{stop, normal, State} {stop, normal, State}
end; end;

View File

@ -1684,15 +1684,15 @@ credit_flow_settings(Config) ->
credit_flow_settings1(_Config) -> credit_flow_settings1(_Config) ->
%% default values %% default values
passed = test_proc(200, 50), passed = test_proc(200, 100),
application:set_env(rabbit, credit_flow_default_credit, {100, 20}), application:set_env(rabbit, credit_flow_default_credit, {100, 300}),
passed = test_proc(100, 20), passed = test_proc(100, 300),
application:unset_env(rabbit, credit_flow_default_credit), application:unset_env(rabbit, credit_flow_default_credit),
% back to defaults % back to defaults
passed = test_proc(200, 50), passed = test_proc(200, 100),
passed. passed.
test_proc(InitialCredit, MoreCreditAfter) -> test_proc(InitialCredit, MoreCreditAfter) ->