summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2016-09-15 22:13:57 +0300
committerMichael Klishin <mklishin@pivotal.io>2016-09-15 22:13:57 +0300
commit06ddafc891a9b85ac3f79a6293968c5d3bdccf5c (patch)
treee10ca557eef3d9ca28748f2fea67d6cebfd07d0f
parent0ca63e9ceba0c5977e88d6f8cc345351650952de (diff)
parentddaa0e9dc9c717da5135eec30286d904287a90e1 (diff)
downloadrabbitmq-server-git-06ddafc891a9b85ac3f79a6293968c5d3bdccf5c.tar.gz
Merge branch 'stable'
-rw-r--r--src/rabbit_mirror_queue_coordinator.erl2
-rw-r--r--test/unit_inbroker_SUITE.erl8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit_mirror_queue_coordinator.erl b/src/rabbit_mirror_queue_coordinator.erl
index 017d1d1fa2..fe1168f120 100644
--- a/src/rabbit_mirror_queue_coordinator.erl
+++ b/src/rabbit_mirror_queue_coordinator.erl
@@ -363,7 +363,7 @@ handle_cast({gm_deaths, DeadGMPids},
%% NOTE: Reported deaths here, could be inconsistant.
rabbit_mirror_queue_misc:report_deaths(MPid, false, QueueName,
DeadPids),
- {stop, normal, State};
+ {stop, shutdown, State};
{error, not_found} ->
{stop, normal, State}
end;
diff --git a/test/unit_inbroker_SUITE.erl b/test/unit_inbroker_SUITE.erl
index 8de282c50a..7b783facd2 100644
--- a/test/unit_inbroker_SUITE.erl
+++ b/test/unit_inbroker_SUITE.erl
@@ -1684,15 +1684,15 @@ credit_flow_settings(Config) ->
credit_flow_settings1(_Config) ->
%% default values
- passed = test_proc(200, 50),
+ passed = test_proc(200, 100),
- application:set_env(rabbit, credit_flow_default_credit, {100, 20}),
- passed = test_proc(100, 20),
+ application:set_env(rabbit, credit_flow_default_credit, {100, 300}),
+ passed = test_proc(100, 300),
application:unset_env(rabbit, credit_flow_default_credit),
% back to defaults
- passed = test_proc(200, 50),
+ passed = test_proc(200, 100),
passed.
test_proc(InitialCredit, MoreCreditAfter) ->