Skip to content

Commit 6fc2d90

Browse files
author
Matthias Radestock
committed
more testing
1 parent 87b97d3 commit 6fc2d90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,12 @@ public void testSetLimitAfterConsume()
165165
QueueingConsumer c = new QueueingConsumer(channel);
166166
declareBindConsume(c);
167167
channel.basicQos(1);
168-
fill(2);
168+
fill(3);
169169
//We actually only guarantee that the limit takes effect
170170
//*eventually*, so this can in fact fail. It's pretty unlikely
171171
//though.
172+
Queue<Delivery> d = drain(c, 1);
173+
ack(d, true);
172174
drain(c, 1);
173175
}
174176

0 commit comments

Comments
 (0)