IdealState getResourceIdealState(String resourceName, String dcName) throws Exception {
    MockHelixAdmin helixAdmin = helixAdmins.get(dataCenterToZkAddress.get(dcName).getZkConnectStrs().get(0));
    return helixAdmin.getResourceIdealState("", resourceName);
  }
Trigger ideal state change in each dc to refresh in-mem resource-partition mapping
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixCluster.java