rreddy-22 commented on code in PR #17402:
URL: https://github.com/apache/kafka/pull/17402#discussion_r1806976516


##########
core/src/test/scala/kafka/utils/TestInfoUtils.scala:
##########
@@ -67,4 +67,22 @@ object TestInfoUtils {
     else
       None
   }
+
+  /**
+   * Returns whether transaction version 2 is enabled.
+   * When no parameter is provided, the default returned is true.
+   */
+  def isTransactionV2Enabled(testInfo: TestInfo): Boolean = {
+    if (testInfo.getDisplayName.contains("isTV2Enabled=")) {

Review Comment:
   Ohh I followed the kraftQuorum style, mainly so we could set a default for 
the tests, but since the default version can is set in the formatter as well I 
guess we don't need it, I can actually do what you suggested! Thanksss! 



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