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


##########
core/src/test/java/kafka/server/handlers/DescribeTopicPartitionsRequestHandlerTest.java:
##########
@@ -311,7 +284,7 @@ void testDescribeTopicPartitionsRequest() {
     }
 
     @Test
-    void testDescribeTopicPartitionsRequestWithEdgeCases() {
+    void testDescribeTopicPartitionsRequestWithEdgeCases() throws Exception {

Review Comment:
   Personally, I prefer throwing the exact UnknownHostException, but we don’t 
have that rule written down in the codebase, so feel free to keep throws 
Exception.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to