PartitionId getHelixPartition(ReplicaId replicaId) {
    return helixClusterManager.getAllPartitionIds(null)
        .stream()
        .filter(partitionId -> replicaId.getPartitionId().toPathString().equals(partitionId.toPathString()))
        .findAny()
        .get();
  }
Search from all the partitions of {@link HelixClusterManager}, the {@link PartitionId} with same partition id as
one in the {@link ReplicaId} passed.
@param replicaId {@link ReplicaId} object.
@return {@link PartitionId} of {@link HelixClusterManager}.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/RecoveryTestClusterManager.java