void upgradeWithNewPartitionLayout(String partitionLayoutPath,
      HelixBootstrapUpgradeUtil.HelixAdminOperation adminOperation) throws Exception {
    HelixBootstrapUpgradeUtil.bootstrapOrUpgrade(hardwareLayoutPath, partitionLayoutPath, zkLayoutPath, clusterName,
        "all", 3, false, false, helixAdminFactory, false, ClusterMapConfig.DEFAULT_STATE_MODEL_DEF, adminOperation,
        DataNodeConfigSourceType.INSTANCE_CONFIG, false, maxInstancesInOneResourceForFullAuto);
    triggerInstanceConfigChangeNotification();
  }
Upgrade based on the partitionLayout.
@param partitionLayoutPath the new partition layout.
@param adminOperation the admin operation associated with this upgrade.
@throws Exception
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixCluster.java