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


##########
clients/src/test/java/org/apache/kafka/test/TestUtils.java:
##########
@@ -563,7 +563,7 @@ public static <T extends Throwable> void assertFutureThrows(
         String expectedMessage
     ) {
         T receivedException = assertFutureThrows(future, 
expectedCauseClassApiException);
-        assertEquals(expectedMessage, receivedException.getMessage());
+        assertTrue(receivedException.getMessage().contains(expectedMessage));

Review Comment:
   Sorry for late response and unclear comment. I have opened 
https://issues.apache.org/jira/browse/KAFKA-18173 to address my comment



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