Skip to content

Commit 7343fd2

Browse files
committed
Increase expiry epsilon in dead letter test
(cherry picked from commit 6c3e72d)
1 parent b47f17c commit 7343fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ private void sleep(long millis) {
573573
publication time + TTL + latency */
574574
private void checkPromptArrival(AccumulatingMessageConsumer c,
575575
int count, long latency) throws Exception {
576-
long epsilon = TTL / 10;
576+
long epsilon = TTL / 5;
577577
for (int i = 0; i < count; i++) {
578578
byte[] body = c.nextDelivery(TTL + TTL + latency + epsilon);
579579
assertNotNull("message #" + i + " did not expire", body);

0 commit comments

Comments
 (0)