public DummyZKFCThread(MiniZKFCCluster _enclosing, MultithreadedTestUtil.TestContext ctx, DummyHAService svc) : base(ctx) { this._enclosing = _enclosing; this.zkfc = new MiniZKFCCluster.DummyZKFC(this._enclosing.conf, svc); }
public virtual void SetupConfAndServices() { conf = new Configuration(); conf.Set(ZKFailoverController.ZkAclKey, TestAcl); conf.Set(ZKFailoverController.ZkAuthKey, TestAuthGood); conf.Set(ZKFailoverController.ZkQuorumKey, hostPort); this.cluster = new MiniZKFCCluster(conf, GetServer(serverFactory)); }