@Test
  public void testUnclosedStreamSmallFile() throws Exception {
    doUnclosedStream(SMALL_CHUNK);
  }
Test what happens if you have an unclosed stream and you create a new file.
geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/filesystem/FileSystemJUnitTest.java