jolshan commented on code in PR #14088:
URL: https://github.com/apache/kafka/pull/14088#discussion_r1275468083


##########
core/src/test/scala/unit/kafka/server/AddPartitionsToTxnManagerTest.scala:
##########
@@ -201,7 +201,7 @@ class AddPartitionsToTxnManagerTest {
     assertEquals(expectedDisconnectedErrors, transaction1Errors)
     assertEquals(expectedDisconnectedErrors, transaction2Errors)
 
-    val expectedTopLevelErrors = topicPartitions.map(_ -> 
Errors.INVALID_RECORD).toMap
+    val expectedTopLevelErrors = topicPartitions.map(_ -> 
Errors.INVALID_TXN_STATE).toMap

Review Comment:
   I've added the test
   



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

Reply via email to