Skip to content

Commit 8d84a05

Browse files
committed
make sure test doesn't get stuck on failure
1 parent a57fc4b commit 8d84a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void testExpiryWithRequeueAfterConsume() throws Exception {
185185
channel.basicConsume(TTL_QUEUE_NAME, c);
186186

187187
publish(MSG[0]);
188-
assertNotNull(c.nextDelivery());
188+
assertNotNull(c.nextDelivery(100));
189189

190190
closeChannel();
191191
Thread.sleep(150);

0 commit comments

Comments
 (0)