@Test
  public void interruptionDuringRecordCopyTest() throws Exception {
    // close testing
    doInterruptionDuringRecordCopyTest();
    // crash testing
    throwExceptionInsteadOfClose = true;
    doInterruptionDuringRecordCopyTest();
  }
Tests the case where there is an interruption (crash/close) of compaction during copy when a few records from
an index segment have been copied over.
@throws Exception
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java