ShivsundarR opened a new pull request, #20922:
URL: https://github.com/apache/kafka/pull/20922

   *What*
   
   - Currently, when there is a backoff wait period, we are retrying the 
acknowledgements until the backoff period completes and then these acks are 
sent.
   
   - But as this is a unit test, we can use time.sleep() to forward the 
`currentTime`, which will allow the backoff period to be over.
   
   - PR fixes the 4 tests in `ShareConsumeRequestManagerTest` to use 
`MockTime::sleep`. This makes the tests faster as we do not actually need to 
wait for the backoff. We can just update the value.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to