public void commitPartitions() throws Exception {
        commitPartitions((subtaskIndex, attemptNumber) -> true);
    }
@Test
    void testPartitionPathNotExist() throws Exception {
        Files.delete(path);
        LinkedHashMap<String, String> staticPartitions = new LinkedHashMap<String, String>();
        FileSystemCommitter committer =
                new FileSystemCommitter(
                        fileSystemFactory,
                        metaStoreFactory,
                        true,
                        new Path(path.toString()),
                        1,
                        false,
                        identifier,
                        staticPartitions,
                        policies);
        committer.commitPartitions();
        assertThat(outputPath.toFile().list()).isEqualTo(new String[0]);
    }