Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10987

Increase timeout in TestZKLeaderManager.testLeaderSelection

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.19
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In 0.94 we wait 2s find the current leader. In 0.96 and later we wait for 10s.
      The test just failed:

      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)
      

        Attachments

        1. 10987.txt
          0.7 kB
          Lars Hofhansl

          Activity

            People

            • Assignee:
              lhofhansl Lars Hofhansl
              Reporter:
              lhofhansl Lars Hofhansl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: