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

Solve TestMultiSlaveReplication flakiness

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: