public static void deleteDirectory(String path) throws IOException {
        FileUtils.deleteDirectory(new File(path));
    }
@Test
    void deleteDirectory() throws IOException {
        Path diskutils = Paths.get(EnvUtil.getNacosTmpDir(), "diskutils");
        File file = diskutils.toFile();
        if (!file.exists()) {
            file.mkdir();
        }
        
        assertTrue(file.exists());
        DiskUtils.deleteDirectory(diskutils.toString());
        assertFalse(file.exists());
    }