mimaison commented on a change in pull request #8295: URL: https://github.com/apache/kafka/pull/8295#discussion_r467194925
########## File path: clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java ########## @@ -1221,28 +1226,39 @@ private DeleteGroupsResponse createDeleteGroupsResponse() { private ListOffsetRequest createListOffsetRequest(int version) { if (version == 0) { - Map<TopicPartition, ListOffsetRequest.PartitionData> offsetData = Collections.singletonMap( - new TopicPartition("test", 0), - new ListOffsetRequest.PartitionData(1000000L, 10)); + ListOffsetTopic topic = new ListOffsetTopic() Review comment: Not entirely sure. It's only used 3 times so we're not going to save very much. ---------------------------------------------------------------- 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