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] [Created] (CURATOR-210) Unit tests using server.close() are fragile.
Date Tue, 28 Apr 2015 02:58:06 GMT
Cameron McKenzie created CURATOR-210:
----------------------------------------

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


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