727374757677787980818283848586878889
// reset the port to the latest. System.setProperty(RunNode.zk_connectParam, "127.0.0.1:" + port); // now run zookeeper ZookeeperTestServer server = new ZookeeperTestServer(); try { server.start(); toCheck.check(); } finally { server.shutdown(); } }