@AfterClass
  public static void tearDown() throws Exception {
    shutdownMiniDFSCluster();
  }
Used to confirm that it is OK to overwrite a file which is being written currently.
hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestOverwriteFileUnderConstruction.java