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

Increase timeout in TestZKLeaderManager.testLeaderSelection

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.94.19
    • test
    • None
    • 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

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: