accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-2940) ZooLockTest doesn't wait for connection
Date Mon, 23 Jun 2014 23:35:24 GMT
Josh Elser created ACCUMULO-2940:

             Summary: ZooLockTest doesn't wait for connection
                 Key: ACCUMULO-2940
             Project: Accumulo
          Issue Type: Bug
          Components: test
    Affects Versions: 1.6.0, 1.5.1
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: 1.5.2, 1.6.1, 1.7.0

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.

This message was sent by Atlassian JIRA

View raw message