Skip to content

Commit f7eb76d

Browse files
author
Matthias Radestock
committed
merge bug22310 into default
2 parents 18adc5d + 13b30d5 commit f7eb76d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,18 @@ public void testLimitingMultipleChannels()
347347
ch2.close();
348348
}
349349

350+
public void testLimitInheritsUnackedCount()
351+
throws IOException
352+
{
353+
QueueingConsumer c = new QueueingConsumer(channel);
354+
declareBindConsume(c);
355+
fill(1);
356+
drain(c, 1);
357+
channel.basicQos(2);
358+
fill(2);
359+
drain(c, 1);
360+
}
361+
350362
protected void runLimitTests(int limit,
351363
boolean multiAck,
352364
boolean txMode,

0 commit comments

Comments
 (0)