List of usage examples for org.apache.zookeeper.server.quorum QuorumPeerConfig setReconfigEnabled
public static void setReconfigEnabled(boolean enabled)
From source file:org.apache.curator.framework.imps.TestReconfiguration.java
License:Apache License
@BeforeMethod @Override/*from w w w.j a v a 2 s .c o m*/ public void setup() throws Exception { super.setup(); QuorumPeerConfig.setReconfigEnabled(true); System.setProperty("zookeeper.DigestAuthenticationProvider.superDigest", superUserPasswordDigest); CloseableUtils.closeQuietly(server); server = null; cluster = new TestingCluster(3); cluster.start(); }