codope commented on code in PR #10869:
URL: https://github.com/apache/hudi/pull/10869#discussion_r1526290033
##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/helpers/TestKafkaOffsetGen.java:
##########
@@ -140,11 +140,13 @@ public void
testGetNextOffsetRangesFromMultiplePartitions() {
testUtils.sendMessages(testTopicName,
Helpers.jsonifyRecords(dataGenerator.generateInserts("000", 1000)));
KafkaOffsetGen kafkaOffsetGen = new
KafkaOffsetGen(getConsumerConfigs("earliest", "string"));
OffsetRange[] nextOffsetRanges =
kafkaOffsetGen.getNextOffsetRanges(Option.empty(), 499, metrics);
- assertEquals(2, nextOffsetRanges.length);
+ assertEquals(3, nextOffsetRanges.length);
Review Comment:
why should the expected value change?
--
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]