chia7712 commented on code in PR #15800: URL: https://github.com/apache/kafka/pull/15800#discussion_r1585492894
########## core/src/test/java/kafka/test/junit/ClusterTestExtensions.java: ########## @@ -91,9 +91,6 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex ClusterTemplate clusterTemplateAnnot = context.getRequiredTestMethod().getDeclaredAnnotation(ClusterTemplate.class); if (clusterTemplateAnnot != null) { processClusterTemplate(context, clusterTemplateAnnot, generatedContexts::add); - if (generatedContexts.isEmpty()) { - throw new IllegalStateException("ClusterConfig generator method should provide at least one config"); Review Comment: > try to add unit test for it. nice. It is ok to file a jira to log it and we can merge this PR first. -- 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