private int getNumberOfOnlineRegions(SingleProcessHBaseCluster cluster) {
    int numFound = 0;
    for (RegionServerThread rst : cluster.getLiveRegionServerThreads()) {
      numFound += rst.getRegionServer().getNumberOfOnlineRegions();
    }
    return numFound;
  }
Checks if the SCP of specific dead server has been executed.
@return true if the SCP of specific serverName has been executed, false if not
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRollingRestart.java