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

ZooLockTest doesn't wait for connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.1, 1.6.0
    • 1.5.2, 1.6.1, 1.7.0
    • test
    • 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

            elserj Josh Elser
            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