jolshan commented on code in PR #19193: URL: https://github.com/apache/kafka/pull/19193#discussion_r1999826233
########## core/src/test/scala/unit/kafka/coordinator/transaction/TransactionCoordinatorTest.scala: ########## @@ -967,12 +1023,16 @@ class TransactionCoordinatorTest { validateRespondsWithConcurrentTransactionsOnInitPidWhenInPrepareState(PrepareAbort) } - @Test - def shouldAbortTransactionOnHandleInitPidWhenExistingTransactionInOngoingState(): Unit = { + @ParameterizedTest(name = "enableTwoPCFlag={0}, keepPreparedTxn={1}") + @CsvSource(Array("false, false")) + def shouldAbortTransactionOnHandleInitPidWhenExistingTransactionInOngoingState( + enableTwoPCFlag: Boolean, Review Comment: Do we plan to add more variants in the future? -- 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