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) {
583583 publication time + TTL + latency */
584584 private void checkPromptArrival (QueueingConsumer c ,
585585 int count , long latency ) throws Exception {
586- long epsilon = TTL / 25 ;
586+ long epsilon = TTL / 20 ;
587587 for (int i = 0 ; i < count ; i ++) {
588588 Delivery d = c .nextDelivery (TTL + TTL + latency + epsilon );
589589 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 {
156156 closeChannel ();
157157 openChannel ();
158158
159- Thread .sleep (150 );
159+ Thread .sleep (200 );
160160 expectBodyAndRemainingMessages (MSG [1 ], 1 );
161161 expectBodyAndRemainingMessages (MSG [2 ], 0 );
162162 }
You can’t perform that action at this time.
0 commit comments