You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2014/04/15 21:16:21 UTC

[jira] [Resolved] (HBASE-10987) Increase timeout in TestZKLeaderManager.testLeaderSelection

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

Lars Hofhansl resolved HBASE-10987.
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Thanks [~stacke]

> Increase timeout in TestZKLeaderManager.testLeaderSelection
> -----------------------------------------------------------
>
>                 Key: HBASE-10987
>                 URL: https://issues.apache.org/jira/browse/HBASE-10987
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 0.94.19
>
>         Attachments: 10987.txt
>
>
> In 0.94 we wait 2s find the current leader. In 0.96 and later we wait for 10s.
> The test just failed:
> {code}
> Error Message
> Leader should exist
> Stacktrace
> java.lang.AssertionError: Leader should exist
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertNotNull(Assert.java:621)
> 	at org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager.testLeaderSelection(TestZKLeaderManager.java:148)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)