BatchDeleteResponse deleteBlobs(List<BatchDeletePartitionRequestInfo> batchDeletePartitionRequestInfos, ConnectedChannel channel) throws IOException {
    BatchDeleteRequest batchDeleteRequest = new BatchDeleteRequest(1, "client1", batchDeletePartitionRequestInfos, time.milliseconds());
    return BatchDeleteResponse.readFrom(channel.sendAndReceive(batchDeleteRequest).getInputStream(), mockClusterMap);
  }
Deletes a list of blobs from ambry server node
@param batchDeletePartitionRequestInfos the {@link List<BatchDeletePartitionRequestInfo>} that needs to be deleted
@param channel the {@link ConnectedChannel} to use to send and receive data
@throws IOException
ambry-server/src/integration-test/java/com/github/ambry/server/ServerBatchDeleteTest.java