[
https://issues.apache.org/jira/browse/ACCUMULO-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved ACCUMULO-2940.
----------------------------------
Resolution: Fixed
> ZooLockTest doesn't wait for connection
> ---------------------------------------
>
> Key: ACCUMULO-2940
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2940
> Project: Accumulo
> Issue Type: Bug
> Components: test
> Affects Versions: 1.5.1, 1.6.0
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Minor
> Fix For: 1.5.2, 1.6.1, 1.7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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
(v6.2#6252)