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:
parent
f482cff0c9
commit
5887969990
|
@ -134,7 +134,7 @@ public class TestSplitLogWorker {
|
||||||
SplitLogWorker slw = new SplitLogWorker(zkw, TEST_UTIL.getConfiguration(), RS, neverEndingTask);
|
SplitLogWorker slw = new SplitLogWorker(zkw, TEST_UTIL.getConfiguration(), RS, neverEndingTask);
|
||||||
slw.start();
|
slw.start();
|
||||||
try {
|
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));
|
byte [] bytes = ZKUtil.getData(zkw, ZKSplitLog.getEncodedNodeName(zkw, TATAS));
|
||||||
SplitLogTask slt = SplitLogTask.parseFrom(bytes);
|
SplitLogTask slt = SplitLogTask.parseFrom(bytes);
|
||||||
assertTrue(slt.isOwned(RS));
|
assertTrue(slt.isOwned(RS));
|
||||||
|
|
Loading…
Reference in New Issue