jolshan commented on code in PR #14695:
URL: https://github.com/apache/kafka/pull/14695#discussion_r1381978740


##########
core/src/test/scala/unit/kafka/server/GroupCoordinatorBaseRequestTest.scala:
##########
@@ -44,10 +44,19 @@ class GroupCoordinatorBaseRequestTest(cluster: 
ClusterInstance) {
     }
   }
 
+  private def controllerServers(): Seq[ControllerServer] = {
+    if (cluster.isKRaftTest) {
+      
cluster.asInstanceOf[RaftClusterInstance].controllers().collect(Collectors.toList[ControllerServer]).asScala.toSeq

Review Comment:
   could we just use controllerServers here?



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

Reply via email to