@Override
  public List<? extends PartitionId> getFullyWritablePartitionIds(String partitionClass) {
    lastRequestedPartitionClasses.add(partitionClass);
    List<PartitionId> partitionIdList = Collections.emptyList();
    if (!partitionsUnavailable) {
      partitionIdList = partitionSelectionHelper.getFullyWritablePartitions(partitionClass);
    }
    return partitionIdList;
  }
Return if ssl ports are enabled in this cluster.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterMap.java