HBASE-6528 Raise the wait time for TestSplitLogWorker#testAcquireTaskAtStartup to reduce the failure probability

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387792 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-09-19 22:02:17 +00:00
parent f482cff0c9
commit 5887969990
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class TestSplitLogWorker {
SplitLogWorker slw = new SplitLogWorker(zkw, TEST_UTIL.getConfiguration(), RS, neverEndingTask);
slw.start();
try {
waitForCounter(SplitLogCounters.tot_wkr_task_acquired, 0, 1, 100);
waitForCounter(SplitLogCounters.tot_wkr_task_acquired, 0, 1, 1000);
byte [] bytes = ZKUtil.getData(zkw, ZKSplitLog.getEncodedNodeName(zkw, TATAS));
SplitLogTask slt = SplitLogTask.parseFrom(bytes);
assertTrue(slt.isOwned(RS));