rreddy-22 commented on code in PR #14537: URL: https://github.com/apache/kafka/pull/14537#discussion_r1357582903
########## core/src/test/scala/unit/kafka/server/GroupCoordinatorBaseRequestTest.scala: ########## @@ -181,6 +185,52 @@ class GroupCoordinatorBaseRequestTest(cluster: ClusterInstance) { response.data.groups.asScala.toList } + protected def deleteOffset( + groupId: String, + topic: String, + partition: Int, + expectedResponseError: Errors = Errors.NONE, + expectedPartitionError: Errors = Errors.NONE, + version: Short + ): Unit = { + if (expectedResponseError != Errors.NONE && expectedPartitionError != Errors.NONE) { + fail("deleteOffset: neither expectedResponseError nor expectedTopicError is none.") Review Comment: nit: NONE* is the message -- 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