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:
Zhihong Yu 2013-10-08 02:21:17 +00:00
parent 6366c25d95
commit 7619a444a0
1 changed files with 1 additions and 1 deletions

View File

@ -1057,7 +1057,7 @@ public class TestSplitTransactionOnCluster {
private void split(final HRegionInfo hri, final HRegionServer server, final int regionCount)
throws IOException, InterruptedException {
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");
Thread.sleep(100);
}