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

Solve TestMultiSlaveReplication flakiness

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When I doing testing for a feature I am working on, the TestMultiSlaveReplication test was flaky. TestMultiSlaveReplication#testMultiSlaveReplication would always pass when running alone; however, it would fail occasionally when running with the suite (the other test TestMultiSlaveReplication#testZKLockCleaner always run first and I suspect that it withhold some zookeeper resource, which caused the problem).

      After I set start and shutdown zk cluster before and after each test, I no longer see the problem.

        Attachments

        1. HBASE-17764.v1-branch-1.patch
          3 kB
          Stephen Yuan Jiang

          Activity

            People

            • Assignee:
              syuanjiang Stephen Yuan Jiang
              Reporter:
              syuanjiang Stephen Yuan Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: