Fix requested eompaction rollback during restore command
This commit is contained in:
committed by
Balaji Varadarajan
parent
d2525c31b7
commit
0b032b2761
@@ -680,6 +680,11 @@ public class TestMergeOnReadTable extends HoodieClientTestHarness {
|
||||
List<HoodieFileGroup> fileGroups = ((HoodieTableFileSystemView) rtView).getAllFileGroups().collect(Collectors
|
||||
.toList());
|
||||
assertTrue(fileGroups.isEmpty());
|
||||
|
||||
// make sure there are no log files remaining
|
||||
assertTrue(((HoodieTableFileSystemView) rtView).getAllFileGroups().filter(fileGroup -> fileGroup
|
||||
.getAllRawFileSlices().filter(f -> f.getLogFiles().count() == 0).count() == 0).count() == 0L);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1259,4 +1264,4 @@ public class TestMergeOnReadTable extends HoodieClientTestHarness {
|
||||
assertFalse("Errors found in write of " + status.getFileId(), status.hasErrors());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user