@Override
    public ReplicationPeerManager getReplicationPeerManager() {
      if (ARRIVE_GET_REPLICATION_PEER_MANAGER != null) {
        ARRIVE_GET_REPLICATION_PEER_MANAGER.countDown();
        ARRIVE_GET_REPLICATION_PEER_MANAGER = null;
        try {
          RESUME_GET_REPLICATION_PEER_MANAGER.await();
        } catch (InterruptedException e) {
        }
      }
      return super.getReplicationPeerManager();
    }
Testcase for HBASE-28522.
<p>
We used to have test with the same name but in different package for HBASE-23636, where DTP will
hold the exclusive lock all the time, and it will reset TRSPs which has been attached to
RegionStateNodes, so we need special logic in SCP to deal with it.
<p>
After HBASE-28522, DTP will not reset TRSPs any more, so SCP does not need to take care of this
special case, thues we removed the special logic in SCP and also the UT for HBASE-22636 is not
valid any more, so we just removed the old one and introduce a new one with the same name here.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestRaceBetweenSCPAndDTP.java