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

TestMasterWrongRS flaky in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0
    • test
    • None
    • Reviewed

    Description

      I think this is just a flaky test. I saw:

      java.lang.AssertionError: expected:<2> but was:<3>
      on the first:
      assertEquals(2, cluster.getLiveRegionServerThreads().size());

      My guess is that the 2 second sleep is not good enough. We should probably either force a heartbeat somehow, or hook in so we can wait until there's been a heartbeat, rather than sleeping a hardcoded amount of time.

      Attachments

        1. HBASE-2684.patch
          1 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: