Class TestRaceBetweenSCPAndDTP

java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestRaceBetweenSCPAndDTP

public class TestRaceBetweenSCPAndDTP extends Object
Testcase for HBASE-28522.

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.

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.