Skip to content

Commit 40f3fa5

Browse files
author
Tim Watson
committed
tweak the timings so that the HA tests pass
1 parent 1eccf3e commit 40f3fa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ protected AMQP.Queue.DeclareOk declareQueue(String name, Object ttlValue) throws
4343
}
4444

4545
public void testExpiryWhenConsumerIsLateToTheParty() throws Exception {
46-
declareAndBindQueue(3000);
46+
declareAndBindQueue(500);
4747

4848
publish(MSG[0]);
49-
this.sessionTTL = 1000;
49+
this.sessionTTL = 100;
5050
publish(MSG[1]);
5151

52-
Thread.sleep(1000);
52+
Thread.sleep(200);
5353

5454
QueueingConsumer c = new QueueingConsumer(channel);
5555
channel.basicConsume(TTL_QUEUE_NAME, c);

0 commit comments

Comments
 (0)