HBASE-20907 Fix Intermittent failure on TestProcedurePriority
This commit is contained in:
parent
cecce16fad
commit
9ac26b80b2
|
@ -136,6 +136,8 @@ public class TestProcedurePriority {
|
|||
.stream().filter(t -> !t.getRegionServer().getRegions(TableName.META_TABLE_NAME).isEmpty())
|
||||
.findAny().get();
|
||||
HRegionServer rsNoMeta = UTIL.getOtherRegionServer(rsWithMetaThread.getRegionServer());
|
||||
// wait for NS table initialization to avoid our error inject affecting master initialization
|
||||
UTIL.waitTableAvailable(TableName.NAMESPACE_TABLE_NAME);
|
||||
FAIL = true;
|
||||
UTIL.getMiniHBaseCluster().killRegionServer(rsNoMeta.getServerName());
|
||||
// wait until all the worker thread are stuck, which means that the stuck checker will start to
|
||||
|
|
Loading…
Reference in New Issue