summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-09-29 13:25:43 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-09-29 13:25:43 +0100
commit142174d4ac295594475f098eee91482d315c1b1a (patch)
tree01c69c747ae68512d2abd453cb7e80fba982c530 /src
parentf71ea231b79294f461d20c37869adf8759d53b7c (diff)
downloadrabbitmq-server-git-142174d4ac295594475f098eee91482d315c1b1a.tar.gz
Concession to Qpid tests is now redundant
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index d2f5527726..9eb77c326a 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -836,14 +836,10 @@ handle_method(#'basic.recover_async'{requeue = true},
OkFun = fun () -> ok end,
ok = fold_per_queue(
fun (QPid, MsgIds, ok) ->
- %% The Qpid python test suite incorrectly assumes
- %% that messages will be requeued in their original
- %% order. To keep it happy we reverse the id list
- %% since we are given them in reverse order.
rabbit_misc:with_exit_handler(
OkFun, fun () ->
rabbit_amqqueue:requeue(
- QPid, lists:reverse(MsgIds), self())
+ QPid, MsgIds, self())
end)
end, ok, UAMQ),
ok = notify_limiter(Limiter, UAMQ),