You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2014/06/18 18:56:25 UTC
[jira] [Updated] (CURATOR-114) TestingServer should expose
restart() method.
[ https://issues.apache.org/jira/browse/CURATOR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jordan Zimmerman updated CURATOR-114:
-------------------------------------
Fix Version/s: 2.6.0
> 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
> Assignee: Jordan Zimmerman
> Priority: Trivial
> Fix For: 2.6.0
>
>
> 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)