You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Cameron McKenzie (JIRA)" <ji...@apache.org> on 2015/04/28 06:00:06 UTC
[jira] [Closed] (CURATOR-210) Unit tests using server.close() are
fragile.
[ 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)