public String waitOnMaster(final int serverNumber) {
    return this.hbaseCluster.waitOnMaster(serverNumber);
  }
Wait for the specified master to stop. Removes this thread from list of running threads.
@return Name of master that just went down.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/MiniHBaseCluster.java