muralibasani commented on code in PR #24193:
URL: https://github.com/apache/kafka/pull/24193#discussion_r4620151831
##########
tools/src/test/java/org/apache/kafka/tools/streams/StreamsGroupCommandTest.java:
##########
@@ -337,11 +331,75 @@ public void testDescribeStreamsGroupsGetOffsets() throws
Exception {
Map<TopicPartition, StreamsGroupCommand.OffsetsInfo> lags =
service.getOffsets(x);
assertEquals(1, lags.size());
- assertEquals(new StreamsGroupCommand.OffsetsInfo(Optional.of(12L),
Optional.of(0), 30L, 18L), lags.get(new TopicPartition("topic1", 0)));
+ assertEquals(new StreamsGroupCommand.OffsetsInfo(Optional.of(12L),
Optional.of(0), Optional.of(30L), Optional.of(18L)), lags.get(new
TopicPartition("topic1", 0)));
service.close();
}
+ @Test
+ public void testDescribeStreamsGroupsGetOffsetsWithDeletedTopic() throws
Exception {
Review Comment:
Actually the rethrow moved with the describeTopics change (from 1st comment).
Added test too.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]