HBASE-9720 TestSplitTransactionOnCluster#testShutdownFixupWhenDaughterHasSplit occasionally times out
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1530133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6366c25d95
commit
7619a444a0
|
@ -1057,7 +1057,7 @@ public class TestSplitTransactionOnCluster {
|
||||||
private void split(final HRegionInfo hri, final HRegionServer server, final int regionCount)
|
private void split(final HRegionInfo hri, final HRegionServer server, final int regionCount)
|
||||||
throws IOException, InterruptedException {
|
throws IOException, InterruptedException {
|
||||||
this.admin.split(hri.getRegionNameAsString());
|
this.admin.split(hri.getRegionNameAsString());
|
||||||
for (int i = 0; ProtobufUtil.getOnlineRegions(server).size() <= regionCount && i < 100; i++) {
|
for (int i = 0; ProtobufUtil.getOnlineRegions(server).size() <= regionCount && i < 300; i++) {
|
||||||
LOG.debug("Waiting on region to split");
|
LOG.debug("Waiting on region to split");
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue