Skip to content

Commit 2b9e9f4

Browse files
author
Francesco Mazzoli
committed
Increased TTL interval.
On my machine 1 sec interval is fine, but it start failing around half a second. Hopefully this will be enough for the CI server.
1 parent f542f55 commit 2b9e9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ private void ttlTest(final long ttl) throws Exception {
310310
Map<String, Object> args = new HashMap<String, Object>();
311311
args.put("x-message-ttl", ttl);
312312
deadLetterTest(new Runnable() {
313-
public void run() { sleep(ttl + 1000); }
313+
public void run() { sleep(ttl + 1500); }
314314
}, args, "expired");
315315
}
316316

0 commit comments

Comments
 (0)