HBASE-12541 Add misc debug logging to hanging tests in TestHCM and TestBaseLoadBalancer -- ADDENDUM; add waitForNoRegionInTransition from HTU in master branch
This commit is contained in:
parent
3c3e9aef81
commit
42cbdea76d
|
@ -3506,4 +3506,13 @@ public class HBaseTestingUtility extends HBaseCommonTestingUtility {
|
||||||
}
|
}
|
||||||
return supportedAlgos.toArray(new Algorithm[supportedAlgos.size()]);
|
return supportedAlgos.toArray(new Algorithm[supportedAlgos.size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wait until no regions in transition.
|
||||||
|
* @param timeout How long to wait.
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public void waitUntilNoRegionsInTransition(final long timeout) throws Exception {
|
||||||
|
waitFor(timeout, predicateNoRegionsInTransition());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue