chia7712 commented on PR #19489:
URL: https://github.com/apache/kafka/pull/19489#issuecomment-3674262348

   @gongxuanzhang `testDropCommitOnBatchExpiry` should rely on the 
`NetworkClient`'s timeout handler rather than the `Sender`. Therefore, we 
should call `time.sleep(10000) ` after `sender.runOnce()` to ensure the 
`NetworkClient` expires the request. Note that the request is created inside 
`sender.runOnce()`, so its creation time is distinct from the batch's creation 
time


-- 
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