@Before
public void setup() throws InterruptedException {
System.setProperty(authProvider, superDigest);
QuorumPeerConfig.setReconfigEnabled(true);
// Get a three server quorum.
qu = new QuorumUtil(1);
qu.disableJMXTest = true;
try {
qu.startAll();
} catch (IOException e) {
Assert.fail("Fail to start quorum servers.");
}
resetZKAdmin();
}
ReconfigExceptionTest.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:https-github.com-apache-zookeeper
作者:
评论列表
文章目录