[
https://issues.apache.org/jira/browse/HBASE-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211381#comment-16211381
]
Chia-Ping Tsai commented on HBASE-19026:
----------------------------------------
The test fails on my slow vm, and passes with this patch.
{code}
- Thread.sleep(2 * HEARTBEAT_TIMEOUT);
+ Thread.sleep(2 * HEARTBEAT_TIMEOUT + HEARTBEAT_TIMEOUT/2);
{code}
Is {{2.5}} more readable?
> TestLockProcedure#testRemoteNamespaceLockRecovery fails in master
> -----------------------------------------------------------------
>
> Key: HBASE-19026
> URL: https://issues.apache.org/jira/browse/HBASE-19026
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 19026.v1.txt
>
>
> This can be reproduced locally:
> {code}
> testRemoteNamespaceLockRecovery(org.apache.hadoop.hbase.master.locking.TestLockProcedure)
> Time elapsed: 8.722 sec <<< FAILURE!
> java.lang.AssertionError: expected:<UNLOCKED> but was:<LOCKED>
> at
> org.apache.hadoop.hbase.master.locking.TestLockProcedure.sendHeartbeatAndCheckLocked(TestLockProcedure.java:219)
> at
> org.apache.hadoop.hbase.master.locking.TestLockProcedure.testRemoteLockRecovery(TestLockProcedure.java:401)
> at
> org.apache.hadoop.hbase.master.locking.TestLockProcedure.testRemoteNamespaceLockRecovery(TestLockProcedure.java:415)
> {code}
> See also
> https://builds.apache.org/job/HBase-TRUNK_matrix/3902/jdk=JDK%201.8%20(latest),label=Hadoop/testReport/org.apache.hadoop.hbase.master.locking/TestLockProcedure/testRemoteNamespaceLockRecovery/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)