hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-19026 TestLockProcedure#testRemoteNamespaceLockRecovery fails
Date Thu, 19 Oct 2017 18:08:05 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 4a7b43039 -> 909e5f2f1


HBASE-19026 TestLockProcedure#testRemoteNamespaceLockRecovery fails


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/909e5f2f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/909e5f2f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/909e5f2f

Branch: refs/heads/master
Commit: 909e5f2f14186709ceb4697f76103c83125c8b49
Parents: 4a7b430
Author: tedyu <yuzhihong@gmail.com>
Authored: Thu Oct 19 11:07:57 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Thu Oct 19 11:07:57 2017 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/master/locking/TestLockProcedure.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/909e5f2f/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
index ce02395..a817bd5 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java
@@ -397,7 +397,7 @@ public class TestLockProcedure {
     sendHeartbeatAndCheckLocked(procId, true);
     Thread.sleep(HEARTBEAT_TIMEOUT/2);
     sendHeartbeatAndCheckLocked(procId, true);
-    Thread.sleep(2 * HEARTBEAT_TIMEOUT);
+    Thread.sleep(2 * HEARTBEAT_TIMEOUT + HEARTBEAT_TIMEOUT/2);
     sendHeartbeatAndCheckLocked(procId, false);
     ProcedureTestingUtility.waitProcedure(procExec, procId);
     ProcedureTestingUtility.assertProcNotFailed(procExec, procId);


Mime
View raw message