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();
 }
Exemplo n.º 3
0
 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);
        }
Exemplo n.º 6
0
 public static TestVNodeBuilder AsClusterMember(int clusterSize)
 {
     var ret = new TestVNodeBuilder().WithClusterNodeSettings(clusterSize);
     return (TestVNodeBuilder)ret;
 }
Exemplo n.º 7
0
 public static TestVNodeBuilder AsSingleNode()
 {
     var ret = new TestVNodeBuilder().WithSingleNodeSettings();
     return (TestVNodeBuilder)ret;
 }