@Test
  public void testIncrementFileDeletes() throws IOException {
    File file = system.createFile("file");
    system.deleteFile("file");
    verify(fileSystemStats).incFileDeletes(1);
  }
Test what happens a file rename is aborted in the middle due to the a cache closed exception.
The next member that uses those files should be able to clean up after the partial rename.
geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/filesystem/FileSystemJUnitTest.java