lianetm commented on code in PR #16043: URL: https://github.com/apache/kafka/pull/16043#discussion_r1631337110
########## core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala: ########## @@ -189,6 +189,27 @@ class PlaintextConsumerTest extends BaseConsumerTest { assertThrows(classOf[InvalidTopicException], () => consumer.partitionsFor(";3# ads,{234")) } + @ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames) + @MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll")) + def testSubscribeInvalidTopic(quorum: String, groupProtocol: String): Unit = { Review Comment: great addition, but this test should go in the `PlainTextConsumerSubscriptionTest` file. -- 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