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-114) TestingServer should expose restart() method.
Date Tue, 17 Jun 2014 00:47:01 GMT
Cameron McKenzie created CURATOR-114:
----------------------------------------

             Summary: TestingServer should expose restart() method.
                 Key: CURATOR-114
                 URL: https://issues.apache.org/jira/browse/CURATOR-114
             Project: Apache Curator
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 2.5.0
            Reporter: Cameron McKenzie
            Priority: Trivial


Currently restarting the TestingServer involves:

server.stop()
server = new TestingServer(server.getPort(), server.getTempDirectory());

The underlying Zookeeper testing server that is contained within TestingServer supports a
restart() method. It would be cleaner to expose this on the TestingServer interface, so a
restart would simply involve:

server.restart()






--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message