Mahadev konar updated ZOOKEEPER-415:

    Attachment: ZOOKEEPER-415.patch

it turns out that we were facing a problem with the list.get() throwing an 
excpetion when the list is empty, whcih would result in lock not being released 
and the other thread waiting on the lock and never able to acquire it leading 
to tests hanging. for the soln.

- added wait for events before we ever call getEvents() 
- added assertion in getEvent that would fail if there are no elements 

> zookeeper c tests hang.
> -----------------------
>                 Key: ZOOKEEPER-415
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-415
>             Project: Zookeeper
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>         Attachments: ZOOKEEPER-415.patch
> the c tests hang sometimes. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to