use of com.vip.saturn.it.utils.NestedZkUtils in project Saturn by vipshop.
the class SaturnAutoBasic method initZK.
protected static void initZK() throws Exception {
nestedZkUtils = new NestedZkUtils();
nestedZkUtils.startServer();
assertThat(nestedZkUtils.isStarted());
String zkString = nestedZkUtils.getZkString();
regCenter = new ZookeeperRegistryCenter(new ZookeeperConfiguration(zkString, NAMESPACE, 1000, 3000, 3));
regCenter.init();
}
use of com.vip.saturn.it.utils.NestedZkUtils in project Saturn by vipshop.
the class AbstractSaturnIT method initZK.
protected static void initZK() throws Exception {
nestedZkUtils = new NestedZkUtils();
nestedZkUtils.startServer();
assertThat(nestedZkUtils.isStarted());
String zkString = nestedZkUtils.getZkString();
regCenter = new ZookeeperRegistryCenter(new ZookeeperConfiguration(zkString, NAMESPACE, 1000, 3000, 3));
regCenter.init();
}
Aggregations