private void setDataNodeConfig(DataNodeConfig dataNodeConfig, String disk, String partition, DataNodeConfigSource dataNodeConfigSource) {
    DataNodeConfig.DiskConfig diskConfig = new DataNodeConfig.DiskConfig(HardwareState.AVAILABLE, 1000);
    diskConfig.getReplicaConfigs().put(partition, new DataNodeConfig.ReplicaConfig(100, "maxAllReplicas"));
    dataNodeConfig.getDiskConfigs().put(disk, diskConfig);
    dataNodeConfigSource.set(dataNodeConfig);
  }
Case when no instance is down and all instances are present in ideal state or external view
@param helixManager
@param dataNodeConfigSource
@return
ambry-clustermap/src/test/java/com/github/ambry/clustermap/PropertyStoreCleanUpTaskTest.java