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

TestMasterWrongRS flaky in trunk

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.0
    • Fix Version/s: 0.90.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: