public virtual void TestFixtureSetUp()
 {
     _builder = TestVNodeBuilder.AsSingleNode()
                .RunInMemory();
     Given();
     _node     = _builder.Build();
     _settings = ((TestVNodeBuilder)_builder).GetSettings();
     _dbConfig = ((TestVNodeBuilder)_builder).GetDbConfig();
     _node.Start();
 }
 public virtual void TestFixtureSetUp()
 {
     _builder = TestVNodeBuilder.AsClusterMember(_clusterSize)
                .RunInMemory();
     _quorumSize = _clusterSize / 2 + 1;
     Given();
     _node     = _builder.Build();
     _settings = ((TestVNodeBuilder)_builder).GetSettings();
     _dbConfig = ((TestVNodeBuilder)_builder).GetDbConfig();
     _node.Start();
 }
 public virtual void TestFixtureSetUp()
 {
     _builder = TestVNodeBuilder.AsSingleNode()
                .WithServerCertificate(ssl_connections.GetServerCertificate())
                .RunInMemory();
     Given();
     _node     = _builder.Build();
     _settings = ((TestVNodeBuilder)_builder).GetSettings();
     _dbConfig = ((TestVNodeBuilder)_builder).GetDbConfig();
     _node.Start();
 }
        public static TestVNodeBuilder AsClusterMember(int clusterSize)
        {
            var ret = new TestVNodeBuilder().WithClusterNodeSettings(clusterSize);

            return((TestVNodeBuilder)ret);
        }
        public static TestVNodeBuilder AsSingleNode()
        {
            var ret = new TestVNodeBuilder().WithSingleNodeSettings();

            return((TestVNodeBuilder)ret);
        }
 public static TestVNodeBuilder AsClusterMember(int clusterSize)
 {
     var ret = new TestVNodeBuilder().WithClusterNodeSettings(clusterSize);
     return (TestVNodeBuilder)ret;
 }
 public static TestVNodeBuilder AsSingleNode()
 {
     var ret = new TestVNodeBuilder().WithSingleNodeSettings();
     return (TestVNodeBuilder)ret;
 }