ijuma commented on a change in pull request #10584: URL: https://github.com/apache/kafka/pull/10584#discussion_r649369319
########## 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: if you think it's valuable, we can keep it. But can we piggy back on another test that tests invalid things? Then we'd save starting and stopping a kafka cluster. -- 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