Skip to content

Commit 1db8411

Browse files
author
Matthew Sackman
committed
Finally got there.
1 parent e52d898 commit 1db8411

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/src/com/rabbitmq/client/test/functional/QosTests.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,12 @@ public void testLimitingMultipleChannels()
350350

351351
public void testLimitInheritsUnackedCount() throws IOException, ShutdownSignalException, InterruptedException {
352352
QueueingConsumer c = new QueueingConsumer(channel);
353-
channel.basicQos(1);
354353
declareBindConsume(c);
355-
fill(4);
354+
fill(1);
356355
drain(c, 1);
357356
channel.basicQos(2);
358-
Queue<Delivery> acks = drain(c, 1);
359-
ackDelivery(acks.remove(), true);
360-
drain(c, 2);
357+
fill(2);
358+
drain(c, 1);
361359
}
362360

363361
protected void runLimitTests(int limit,

0 commit comments

Comments
 (0)