Shivsundar R created KAFKA-19896:
------------------------------------
Summary: Use MockTime::sleep instead of retrying in
ShareConsumeRequestManagerTest.
Key: KAFKA-19896
URL: https://issues.apache.org/jira/browse/KAFKA-19896
Project: Kafka
Issue Type: Sub-task
Reporter: Shivsundar R
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 {color:#0747a6}time.sleep(){color} to
forward the currentTime, which will allow the backoff period to be over.
4 tests in {color:#0747a6}ShareConsumeRequestManagerTest{color} use this
currently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)