codope commented on code in PR #6181:
URL: https://github.com/apache/hudi/pull/6181#discussion_r927684172
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/compact/ITTestHoodieFlinkCompactor.java:
##########
@@ -253,7 +253,14 @@ public void
testHoodieFlinkCompactorWithPlanSelectStrategy(boolean enableChangel
// wait for the asynchronous commit to finish
TimeUnit.SECONDS.sleep(3);
- compactionInstantTimeList.add(scheduleCompactionPlan(metaClient,
writeClient));
+ metaClient.reloadActiveTimeline();
+ Option<String> compactionInstantTimeOption =
CompactionUtil.getCompactionInstantTime(metaClient);
+ // this scheduling is flaky
+ if (compactionInstantTimeOption.isPresent()) {
Review Comment:
Should we do something like this for `testHoodieFlinkCompactorService` as
well? That's also flaky for me locally.
--
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]