@After
  public void cleanup() throws Exception {
    if (peerReplicaMountPath != null) {
      for (String path : peerReplicaMountPath) {
        FileUtils.deleteDirectory(new File(path));
      }
    }

    if (state != null) {
      state.destroy();
    }
    assertTrue(tempDir + " could not be cleaned", StoreTestUtils.cleanDirectory(tempDir, true));
  }
Releases all resources and deletes the temporary directory.
@throws Exception
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java