[ https://issues.apache.org/jira/browse/HBASE-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969897#comment-13969897 ]
Lars Hofhansl commented on HBASE-10987: --------------------------------------- Simple timeout change. Going to commit. > 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)