CalvinConfluent commented on code in PR #17698: URL: https://github.com/apache/kafka/pull/17698#discussion_r1847494440
########## 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: I think it is due to the sequence of the requests(AddPartition after produce) which increases the race chance between these 2 producers. -- 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