jolshan commented on code in PR #15486:
URL: https://github.com/apache/kafka/pull/15486#discussion_r1534705114
##########
core/src/test/scala/unit/kafka/server/AddPartitionsToTxnManagerTest.scala:
##########
@@ -106,27 +106,27 @@ class AddPartitionsToTxnManagerTest {
val transaction2Errors = mutable.Map[TopicPartition, Errors]()
val transaction3Errors = mutable.Map[TopicPartition, Errors]()
- addPartitionsToTxnManager.verifyTransaction(transactionalId1, producerId1,
producerEpoch = 0, topicPartitions, setErrors(transaction1Errors))
- addPartitionsToTxnManager.verifyTransaction(transactionalId2, producerId2,
producerEpoch = 0, topicPartitions, setErrors(transaction2Errors))
- addPartitionsToTxnManager.verifyTransaction(transactionalId3, producerId3,
producerEpoch = 0, topicPartitions, setErrors(transaction3Errors))
+ addPartitionsToTxnManager.verifyTransaction(transactionalId1, producerId1,
producerEpoch = 0, topicPartitions, setErrors(transaction1Errors), any())
Review Comment:
for this test, can we use the latest produce version rather than any?
--
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]