Skip to content

Commit 1af2589

Browse files
author
Matthias Radestock
committed
add test for (unimplemented) prefetch-size limiting
1 parent cbeb7ac commit 1af2589

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ public void testMessageLimitGlobalFails()
106106
}
107107
}
108108

109+
public void testMessageLimitPrefetchSizeFails()
110+
throws IOException
111+
{
112+
try {
113+
channel.basicQos(1000, 0, false);
114+
} catch (IOException ioe) {
115+
checkShutdownSignal(AMQP.NOT_IMPLEMENTED, ioe);
116+
}
117+
}
118+
109119
public void testMessageLimitUnlimited()
110120
throws IOException
111121
{

0 commit comments

Comments
 (0)