Siddharth Raghavan wrote:
I need to restart a single zookeeper server node on the same port within
my unit tests.

Are you testing c or java client?

I tried stopping the server, having a delay and restarting it on the
same port. But the server doesn't startup. When I re-start on a
different port, it starts up correctly.

You may be running into this:

Take a look at the zk tests, we do this in some cases and it works for us so you should be able to do similar.

See or for java and c respectively. Ring us back if you still have questions.


Reply via email to