peterxcli commented on code in PR #17991:
URL: https://github.com/apache/kafka/pull/17991#discussion_r1864121108


##########
clients/src/test/java/org/apache/kafka/test/TestUtils.java:
##########
@@ -542,28 +542,41 @@ public static Set<TopicPartition> 
generateRandomTopicPartitions(int numTopic, in
     }
 
     /**
-     * Assert that a future raises an expected exception cause type. Return 
the exception cause
-     * if the assertion succeeds; otherwise raise AssertionError.
+     * Assert that a future raises an expected exception cause type and 
optionally verify the error message.

Review Comment:
   @dengziming you're right, reverted. Thanks!



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