You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Shivsundar R (Jira)" <ji...@apache.org> on 2025/11/19 08:19:00 UTC

[jira] [Created] (KAFKA-19896) Use MockTime::sleep instead of retrying in ShareConsumeRequestManagerTest.

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)