[MINOR] Ensure directory exists before listing all marker files. (#2594)
This commit is contained in:
@@ -119,6 +119,7 @@ public class TestMarkerFiles extends HoodieCommonTestHarness {
|
||||
public void testDeletionWhenMarkerDirNotExists() throws IOException {
|
||||
// then
|
||||
assertFalse(markerFiles.doesMarkerDirExist());
|
||||
assertTrue(markerFiles.allMarkerFilePaths().isEmpty());
|
||||
assertFalse(markerFiles.deleteMarkerDir(context, 2));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user