@Test
  public void largeBlobTest() throws Exception {
    final int blobSize = RouterServerTestFramework.CHUNK_SIZE * 2 + 1;
    List<OperationChain> opChains = new ArrayList<>();
    for (int i = 0; i < 2; i++) {
      Queue<OperationType> operations = new LinkedList<>();
      operations.add(OperationType.PUT);
      operations.add(OperationType.AWAIT_CREATION);
      operations.add(OperationType.GET_INFO);
      operations.add(OperationType.GET_AUTHORIZATION_FAILURE);
      operations.add(OperationType.GET);
      operations.add(OperationType.TTL_UPDATE);
      operations.add(OperationType.AWAIT_TTL_UPDATE);
      operations.add(OperationType.TTL_UPDATE);
      operations.add(OperationType.AWAIT_TTL_UPDATE);
      operations.add(OperationType.GET);
      operations.add(OperationType.GET_INFO);
      operations.add(OperationType.DELETE_AUTHORIZATION_FAILURE);
      operations.add(OperationType.DELETE);
      operations.add(OperationType.AWAIT_DELETION);
      operations.add(OperationType.GET_INFO_DELETED);
      operations.add(OperationType.GET_DELETED);
      operations.add(OperationType.GET_DELETED_SUCCESS);
      operations.add(OperationType.GET_INFO_DELETED_SUCCESS);
      opChains.add(testFramework.startOperationChain(blobSize, null, i, operations));
    }
    testFramework.checkOperationChains(opChains);
  }
Test that the non-blocking router can handle multi-chunk blobs.
@throws Exception
ambry-server/src/integration-test/java/com/github/ambry/server/RouterServerPlaintextTest.java