Skip to content

Commit 7e359d8

Browse files
Check if reply code for "too many channels" is what we expect
1 parent 425ee15 commit 7e359d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/src/com/rabbitmq/client/test/server/ChannelLimitNegotiation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public void shutdownCompleted(ShutdownSignalException cause) {
9494
ch.open();
9595
fail("expected channel.open to cause a connection exception");
9696
} catch (IOException e) {
97+
checkShutdownSignal(530, e);
9798
} finally {
9899
Host.rabbitmqctl("eval 'application:set_env(rabbit, channel_max, 0).'");
99100
}

0 commit comments

Comments
 (0)