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

Patrick Hunt updated ZOOKEEPER-1433:
------------------------------------

    Attachment: ZOOKEEPER-1433.patch

This patch fixes the issue. Went from being able to reproduce the flakey test 
issue on particular hardware once every 10 runs to running more than 100 runs 
without seeing it again. Getting the client connection handling right turned 
out to be tricky.
                
> improve ZxidRolloverTest (test seems flakey)
> --------------------------------------------
>
>                 Key: ZOOKEEPER-1433
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1433
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 3.3.5
>            Reporter: Wing Yew Poon
>            Assignee: Patrick Hunt
>             Fix For: 3.3.6, 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1433.patch, ZOOKEEPER-1433_test.out
>
>
> In our jenkins job to run the ZooKeeper unit tests, 
> org.apache.zookeeper.server.ZxidRolloverTest sometimes fails.
> E.g.,
> {noformat}
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode 
> = ConnectionLoss for /foo0
>       at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
>       at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>       at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:815)
>       at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:843)
>       at 
> org.apache.zookeeper.server.ZxidRolloverTest.checkNodes(ZxidRolloverTest.java:154)
>       at 
> org.apache.zookeeper.server.ZxidRolloverTest.testRolloverThenRestart(ZxidRolloverTest.java:211)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to