codope commented on code in PR #11137:
URL: https://github.com/apache/hudi/pull/11137#discussion_r1590531114
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/functional/TestHoodieBackedMetadata.java:
##########
@@ -925,6 +925,37 @@ public void
testMetadataTableCompactionWithPendingInstants() throws Exception {
assertEquals(HoodieInstantTimeGenerator.instantTimeMinusMillis(inflightInstant2,
1L), tableMetadata.getLatestCompactionTime().get());
}
+ @Test
+ public void testInitializeMetadataTableWithPendingInstant() throws Exception
{
+ init(COPY_ON_WRITE, false);
Review Comment:
If we are going to test for only one table type, shall we test for MOR
instead of COW? If the initialization works for MOR, it should work for COW as
well.
--
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]