File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
test/src/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 3434import com .rabbitmq .client .impl .FrameHandler ;
3535import com .rabbitmq .client .impl .LongStringHelper ;
3636import com .rabbitmq .client .impl .SocketFrameHandler ;
37- import com .rabbitmq .tools .Host ;
3837
3938public class FrameMax extends BrokerTestCase {
4039 /* This value for FrameMax is larger than the minimum and less
@@ -74,15 +73,12 @@ public void testFrameSizes()
7473 public void testRejectLargeFramesDuringConnectionNegotiation ()
7574 throws IOException
7675 {
77- Host .rabbitmqctl ("eval 'application:set_env(rabbit, frame_max, " + Integer .toString (AMQP .FRAME_MIN_SIZE ) + ").'" );
7876 ConnectionFactory cf = new ConnectionFactory ();
7977 cf .getClientProperties ().put ("too_long" , LongStringHelper .asLongString (new byte [AMQP .FRAME_MIN_SIZE ]));
8078 try {
8179 cf .newConnection ();
8280 fail ("Expected exception during connection negotiation" );
8381 } catch (IOException e ) {
84- } finally {
85- Host .rabbitmqctl ("eval 'application:set_env(rabbit, frame_max, 131072).'" );
8682 }
8783 }
8884
@@ -93,7 +89,6 @@ public void testRejectExceedingFrameMax()
9389 {
9490 closeChannel ();
9591 closeConnection ();
96-
9792 ConnectionFactory cf = new GenerousConnectionFactory ();
9893 connection = cf .newConnection ();
9994 openChannel ();
You can’t perform that action at this time.
0 commit comments