Skip to content

Commit 1eccf3e

Browse files
author
Tim Watson
committed
swap around the expiring messages in PerMessageTTL tests
1 parent 3616891 commit 1eccf3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public void testExpiryWhenConsumerIsLateToTheParty() throws Exception {
4646
declareAndBindQueue(3000);
4747

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

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

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

0 commit comments

Comments
 (0)