You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org> on 2012/03/26 22:08:26 UTC

[jira] [Updated] (ZOOKEEPER-1433) improve ZxidRolloverTest (test seems flakey)

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

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

    Fix Version/s:     (was: 3.3.5)
                   3.5.0
                   3.4.4
                   3.3.6
         Assignee: Patrick Hunt

Looks like I missed checking that the clients disconnect, then reconnect after restarting the server. In some cases this doesn't happen fast enough and the exist check fails as a result (ie the client hasn't noticed that the server went down/came back).
                
> 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
>
>
> 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