danny0405 commented on code in PR #9923:
URL: https://github.com/apache/hudi/pull/9923#discussion_r1379481212
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/source/TestStreamReadMonitoringFunction.java:
##########
@@ -270,8 +270,8 @@ public void testConsumingHollowInstants() throws Exception {
"All instants should have range limit");
assertTrue(sourceContext.splits.stream().allMatch(split ->
isPointInstantRange(split.getInstantRange().get(), c2)),
"All the splits should have point instant range");
- assertTrue(sourceContext.splits.stream().allMatch(split ->
split.getLatestCommit().equals(c2)),
- "All the splits should be with specified instant time");
+ assertTrue(sourceContext.splits.stream().anyMatch(split ->
split.getLatestCommit().equals(c2)),
+ "At least one input split's latest commit time should be equal to
the specified instant time.");
Review Comment:
Why this 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]