[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-570:
-----------------------------------

    Attachment: ZOOKEEPER-570.patch

Fixed the test:

1) delete now uses name rather than path (since create is using seq flag)
this was the main issue previously
2) fail the test if create or delete operations fail
3) don't send messages to the server until connected - otw false positive 
failure due to queued aysnc op when client times out


> AsyncHammerTest is broken, callbacks need to validate rc parameter
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-570
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-570
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Critical
>             Fix For: 3.2.2, 3.3.0
>
>         Attachments: ZOOKEEPER-570.patch
>
>
> the asynchammertest is not validating the rc in the callback, more serious is 
> that it is using path in the create callback
> to delete the node, rather than name (which is important in the case of a 
> sequential node creation as in this case)

-- 
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