@BeforeClass
  public static void setUpBeforeClass() throws Exception {
    CONF1.setClass(HConstants.MASTER_IMPL, HMasterForTest.class, HMaster.class);
    TestReplicationBase.setUpBeforeClass();
    createTable(tableName3);
    table3 = connection1.getTable(tableName3);
  }
Make sure we will wait until all the SCPs finished in RemovePeerProcedure.
<p/>
See HBASE-27109 for more details.
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestRemovePeerProcedureWaitForSCP.java