GitHub user cammckenzie opened a pull request:
https://github.com/apache/curator/pull/11
CURATOR-114 - Modified the TestingServer to expose the restart() method
Modified the TestingServer to expose the restart() method on the underlying
TestingZooKeeperServer. Modified all unit tests that were previously using the
stop() and then recreate using existing temporary directory and port approach
for restarting the server, so that they now just call the restart() method.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cammckenzie/curator CURATOR-114
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/11.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11
----
commit 27c70aab9a3d86ba9a8a20e3ae28ef5bed147300
Author: Cameron McKenzie <[email protected]>
Date: 2014-06-17T03:49:03Z
CURATOR-114 - Modified the TestingServer to expose the restart() method
on the underlying TestingZooKeeperServer. Modified all unit tests that
were previously using the stop() and then recreate using existing
temporary directory and port approach for restarting the server, so that
they now just call the restart() method.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---