curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CURATOR-210) Unit tests using server.close() are fragile.
Date Tue, 28 Apr 2015 04:00:06 GMT

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

Cameron McKenzie closed CURATOR-210.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0

> Unit tests using server.close() are fragile.
> --------------------------------------------
>
>                 Key: CURATOR-210
>                 URL: https://issues.apache.org/jira/browse/CURATOR-210
>             Project: Apache Curator
>          Issue Type: Bug
>            Reporter: Cameron McKenzie
>            Assignee: Cameron McKenzie
>             Fix For: 2.8.0
>
>
> Unit tests that use the pattern of server.close() then recreating a new TestingServer
instance to simulate connection loss are fragile and will fail periodically.
> This appears to be due to a ZooKeeper bug (https://issues.apache.org/jira/browse/ZOOKEEPER-832).
It can be worked around by using the server.restart() method instead of close and recreate.
> All unit tests need to be investigated and fixed as necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message