[
https://issues.apache.org/jira/browse/KAFKA-19896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Schofield resolved KAFKA-19896.
--------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> 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
> Assignee: Shivsundar R
> Priority: Major
> Fix For: 4.2.0
>
>
> 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)