You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "muralibasani (via GitHub)" <gi...@apache.org> on 2026/09/21 14:22:52 UTC

[PR] KAFKA-21137: Flaky testSendTxnOffsetsWithGroupIdTransactionV2 [kafka]

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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21137: Flaky testSendTxnOffsetsWithGroupIdTransactionV2 [kafka]

Posted by "lianetm (via GitHub)" <gi...@apache.org>.
lianetm merged PR #23539:
URL: https://github.com/apache/kafka/pull/23539


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org