Steven Cheng commented on ZOOKEEPER-543:

Hi Mahadev, my original idea was to have small tests that tested the basic 
features needed to implement the examples without bringing in a full API.
testQueue tests that creating nodes works properly, in a similar way that a 
queue would use them. 

testLock  tests that create and delete work properly in a way that a lock would 
use them.

At this point I think that the queue and lock recipes do a good job of covering 
these cases, so these tests are probably not needed.  

> Tests for ZooKeeper examples
> ----------------------------
>                 Key: ZOOKEEPER-543
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-543
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: tests
>    Affects Versions: 3.3.0
>            Reporter: Steven Cheng
>            Assignee: Steven Cheng
>            Priority: Minor
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-543.patch
> Initial attempt to create ZooKeeper tests based on the example code on the 
> website.  
> Current plan is to test features used in examples using ZooKeeper calls 
> directly.  Another approach would be to make more usable abstractions such as 
> those in src/recipes and test those.

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