We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f3737 commit c6f5ae8Copy full SHA for c6f5ae8
test/src/com/rabbitmq/client/test/functional/FrameMax.java
@@ -93,12 +93,8 @@ public void testRejectExceedingFrameMax()
93
ConnectionFactory cf = new GenerousConnectionFactory();
94
connection = cf.newConnection();
95
openChannel();
96
- try {
97
- basicPublishVolatile(new byte[connection.getFrameMax()], "void");
98
- channel.basicQos(0);
99
- fail("Expected exception when publishing");
100
- } catch (IOException e) {
101
- }
+ basicPublishVolatile(new byte[connection.getFrameMax()], "void");
+ expectError(AMQP.FRAME_ERROR);
102
}
103
104
/* ConnectionFactory that uses MyFrameHandler rather than
0 commit comments