boneanxs commented on code in PR #9617:
URL: https://github.com/apache/hudi/pull/9617#discussion_r1332389722


##########
hudi-client/hudi-client-common/src/test/java/org/apache/hudi/utils/TestMetadataConversionUtils.java:
##########
@@ -82,6 +82,7 @@ public void init() throws IOException {
   public void testCompletedClean() throws Exception {
     String newCommitTime = HoodieTestTable.makeNewCommitTime();
     createCleanMetadata(newCommitTime);
+    metaClient.reloadActiveTimeline();
     HoodieArchivedMetaEntry metaEntry = 
MetadataConversionUtils.createMetaWrapper(

Review Comment:
   Remove other reloadActiveTimeline except `testCompletedCompaction`, since it 
will initialize activeTimeline when create commits. We have to reload here to 
ensure new commits are added.



-- 
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]

Reply via email to