private static void removeDir(File dir) {
    File[] files = dir.listFiles();
    for (final File file : files) {
      file.delete();
    }
    dir.delete();
  }
Make sure the old diskDirs apis get mapped onto the diskStore.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskOldAPIsJUnitTest.java