Skip to content

Commit 7487903

Browse files
committed
Use 60 consumers instead of 100 in test
Because of default max number of sessions in a connection (64).
1 parent 474088e commit 7487903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/rabbitmq/client/amqp/impl/TopologyRecoveryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ void recoverConsumers(boolean isolateResources) {
477477
connection.management().exchange(e).type(FANOUT).declare();
478478
connection.management().queue(q).declare();
479479
connection.management().binding().sourceExchange(e).destinationQueue(q).bind();
480-
int consumerCount = 100;
480+
int consumerCount = 60;
481481
TestUtils.Sync consumeSync = TestUtils.sync(consumerCount);
482482
Consumer.MessageHandler handler =
483483
(ctx, m) -> {

0 commit comments

Comments
 (0)