muralibasani opened a new pull request, #23539: URL: https://github.com/apache/kafka/pull/23539
The test used `new MockTime(1)` a clock that jumps 1 ms forward every time any thread asks what time it is. When `sendOffsetsToTransaction` waits for a metadata refresh before sending the offsets, because the time spent waiting is subtracted from the `max.block.ms` time. In this case,. if sender thread pushes clock past 10s for ex, there is nothing left for TxnOffsetCommit itself and the test would fail. Removed that 1 sec, so using clock that doesn't advance by itself. So ti should now cover the timeout. -- 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]
