Skip to content

Commit 5812569

Browse files
author
Simon MacMullen
committed
Merge heads
2 parents 22afbf4 + 6bfb7f6 commit 5812569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ public void testTransactionalPublishWithGet() throws Exception {
157157
* Test expiry of re-queued messages
158158
*/
159159
public void testExpiryWithRequeue() throws Exception {
160-
declareAndBindQueue(100);
160+
declareAndBindQueue(200);
161161

162162
publish(MSG[0]);
163-
Thread.sleep(50);
163+
Thread.sleep(100);
164164
publish(MSG[1]);
165165
publish(MSG[2]);
166166

@@ -170,7 +170,7 @@ public void testExpiryWithRequeue() throws Exception {
170170
closeChannel();
171171
openChannel();
172172

173-
Thread.sleep(60);
173+
Thread.sleep(150);
174174
expectBodyAndRemainingMessages(MSG[1], 1);
175175
expectBodyAndRemainingMessages(MSG[2], 0);
176176
}

0 commit comments

Comments
 (0)