CalvinConfluent commented on code in PR #17698:
URL: https://github.com/apache/kafka/pull/17698#discussion_r1850772981


##########
core/src/test/scala/integration/kafka/api/TransactionsTest.scala:
##########
@@ -401,6 +401,7 @@ class TransactionsTest extends IntegrationTestHarness {
     producer1.beginTransaction()
     
producer1.send(TestUtils.producerRecordWithExpectedTransactionStatus(topic1, 
null, "1", "1", willBeCommitted = false))
     
producer1.send(TestUtils.producerRecordWithExpectedTransactionStatus(topic2, 
null, "3", "3", willBeCommitted = false))
+    producer1.flush()

Review Comment:
   Sure, I updated the errors. But note that, the error type depends on the 
timing, whether the producer1's produce requests can finish before producer2.



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