hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HBASE-7142) TestSplitLogManager#testDeadWorker may fail because of hard limit on the TimeoutMonitor's timeout period
Date Sun, 11 Nov 2012 21:05:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl reassigned HBASE-7142:
------------------------------------

    Assignee: Himanshu Vashishtha
    
> TestSplitLogManager#testDeadWorker may fail because of hard limit on the TimeoutMonitor's
timeout period
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7142
>                 URL: https://issues.apache.org/jira/browse/HBASE-7142
>             Project: HBase
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.94.2
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Minor
>             Fix For: 0.94.3
>
>         Attachments: HBASE-7142.patch
>
>
> The timeout in testDeadWorker is set to 1 sec, it is the same as the TimeoutMonitor thread
timeout. In some case, this may fail:
> {code}
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:92)
> 	at org.junit.Assert.assertTrue(Assert.java:43)
> 	at org.junit.Assert.assertTrue(Assert.java:54)
> 	at org.apache.hadoop.hbase.master.TestSplitLogManager.waitForCounter(TestSplitLogManager.java:147)
> 	at org.apache.hadoop.hbase.master.TestSplitLogManager.waitForCounter(TestSplitLogManager.java:127)
> 	at org.apache.hadoop.hbase.master.TestSplitLogManager.testDeadWorker(TestSplitLogManager.java:433)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> {code}
> Fix is to increase the timeout for this test. Its not needed in trunk as the timeout
is 3 seconds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message