HBASE-10852 TestDistributedLogSplitting#testDisallowWritesInRecovering occasionally fails

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1582487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2014-03-27 21:44:56 +00:00
parent 4487333e5e
commit 2fa73bce2b
1 changed files with 1 additions and 1 deletions

View File

@ -855,7 +855,7 @@ public class TestDistributedLogSplitting {
public void testDisallowWritesInRecovering() throws Exception { public void testDisallowWritesInRecovering() throws Exception {
LOG.info("testDisallowWritesInRecovering"); LOG.info("testDisallowWritesInRecovering");
conf.setBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY, true); conf.setBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY, true);
conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 1); conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 3);
conf.setBoolean(HConstants.DISALLOW_WRITES_IN_RECOVERING, true); conf.setBoolean(HConstants.DISALLOW_WRITES_IN_RECOVERING, true);
startCluster(NUM_RS); startCluster(NUM_RS);
final int NUM_REGIONS_TO_CREATE = 40; final int NUM_REGIONS_TO_CREATE = 40;