jolshan commented on code in PR #13231: URL: https://github.com/apache/kafka/pull/13231#discussion_r1124925652
########## core/src/test/scala/unit/kafka/coordinator/transaction/TransactionCoordinatorTest.scala: ########## @@ -1185,4 +1213,8 @@ class TransactionCoordinatorTest { def errorsCallback(ret: Errors): Unit = { error = ret } + + def verifyPartitionsInTxnCallback(result: AddPartitionsToTxnResult): Unit = { + errors = AddPartitionsToTxnResponse.errorsForTransaction(result.topicResults()).asScala.toMap Review Comment: I'm just followed the pattern of the errorsCallback. 😅 I'm not going to redo that, but I can redo this if it's an issue. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org