[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514617#comment-14514617
 ] 

Chris Nauroth commented on ZOOKEEPER-2062:
------------------------------------------

I also wanted to mention that {{DataTree#getWatchesByPath}} returns only data 
watchers (not child watchers), so I modified the suggestion from Rakesh a bit 
to check if the {{ServerCnxn}} is registered as a watcher for covering both 
cases.  Thanks for the help Rakesh!

> RemoveWatchesTest takes forever to run
> --------------------------------------
>
>                 Key: ZOOKEEPER-2062
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2062
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.5.0
>            Reporter: Flavio Junqueira
>            Assignee: Chris Nauroth
>         Attachments: ZOOKEEPER-2062.001.patch, ZOOKEEPER-2062.002.patch
>
>
> [junit] Running org.apache.zookeeper.RemoveWatchesTest
>     [junit] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> 306.188 sec



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to