@Test
  public void singleFailureInBatchTtlUpdateTest() throws Exception {
    assertTtl(router, blobIds, TTL_SECS);
    // configure failure for one of the blobs
    serverLayout.getMockServers()
        .forEach(
            mockServer -> mockServer.setErrorCodeForBlob(blobIds.get(BLOBS_COUNT / 2), ServerErrorCode.UnknownError));
    executeOpAndVerify(blobIds, RouterErrorCode.UnexpectedInternalError, false, false, false, false, false);
  }
Test to ensure that failure of a single TTL update in a batch fails the entire batch
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/TtlUpdateManagerTest.java