public void TestFixtureSetup() { _config = new ConnectionPoolConfig(10, 5, 1000, 1000, 1000, 1000); var factory = ConnectionFactory.GetDefault(); _connectionPool = new DefaultConnectionPool(_config, Node.GetEndPoint(Server), factory); _connectionPool.Initialize(); _provider = new FileSystemConfigProvider(_defaultClientConfig, ConnectionFactory.GetDefault()); _configInfo = _provider.GetCached(); _ioStrategy = new AwaitableIOStrategy(_connectionPool, null); _state = _state = new ClusterState(_defaultClientConfig); }
public void SetUp() { _state = new ClusterState(_defaultClientConfig); }