boneanxs commented on code in PR #9617:
URL: https://github.com/apache/hudi/pull/9617#discussion_r1329547309
##########
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:
Yes, this is necessary, MetadataConversionUtils.createMetaWrapper will try
to get the complete instant path from activeTimeline, but if we don't
reloadActiveTimeline, the complete instant written above
"createCleanMetadata(newCommitTime);" will not be included in activeTimeline.
--
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]