jolshan commented on a change in pull request #10584:
URL: https://github.com/apache/kafka/pull/10584#discussion_r649352099



##########
File path: core/src/test/scala/unit/kafka/server/MetadataRequestTest.scala
##########
@@ -234,6 +235,32 @@ class MetadataRequestTest extends 
AbstractMetadataRequestTest {
     }
   }
 
+  @Test
+  def testInvalidMetadataRequestReturnsError(): Unit = {

Review comment:
       This was one way to test the KafkaApis code, but I suppose I could move 
this to a unit test that only tests the method itself (and not the whole 
request path)




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to