Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2940

ZooLockTest doesn't wait for connection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1, 1.6.0
    • Fix Version/s: 1.5.2, 1.6.1, 1.7.0
    • Component/s: test
    • Labels:
      None

      Description

      In ZooLockTest, we create a ZooKeeper instance and then use it without waiting for it to be connected. Because ZooKeeper uses an asynchronous connection, this can cause spurious failures in ZooLockTest.

      Create a simple Watcher that we can use to know when we're connected.

        Attachments

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h