File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/test/java/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ private void sleep(long millis) {
583
583
publication time + TTL + latency */
584
584
private void checkPromptArrival (QueueingConsumer c ,
585
585
int count , long latency ) throws Exception {
586
- long epsilon = TTL / 25 ;
586
+ long epsilon = TTL / 20 ;
587
587
for (int i = 0 ; i < count ; i ++) {
588
588
Delivery d = c .nextDelivery (TTL + TTL + latency + epsilon );
589
589
assertNotNull ("message #" + i + " did not expire" , d );
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ protected void releaseResources() throws IOException {
156
156
closeChannel ();
157
157
openChannel ();
158
158
159
- Thread .sleep (150 );
159
+ Thread .sleep (200 );
160
160
expectBodyAndRemainingMessages (MSG [1 ], 1 );
161
161
expectBodyAndRemainingMessages (MSG [2 ], 0 );
162
162
}
You can’t perform that action at this time.
0 commit comments