You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/06/24 01:35:24 UTC
[jira] [Created] (ACCUMULO-2940) ZooLockTest doesn't wait for
connection
Josh Elser created ACCUMULO-2940:
------------------------------------
Summary: 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.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
(v6.2#6252)