Implemented connection to cluster using gossip seeds

This commit is contained in:
Nicolas Dextraze
2016-10-15 15:41:25 -07:00
parent 4ea996781f
commit dd1302f641
10 changed files with 351 additions and 303 deletions

View File

@ -12,12 +12,11 @@ if (process.env.TESTS_VERBOSE_LOGGING === '1') {
settings.log = new FileLogger('test-verbose.log');
}
var tcpEndPoint = {host: 'localhost', port: 1113};
var tcpEndPoint = {hostname: 'localhost', port: 1112};
function setUp(cb) {
this.log = settings.log;
this.testStreamName = 'test-' + uuid.v4();
this.log.info('A', this.testStreamName);
var connected = false;
this.conn = client.EventStoreConnection.create(settings, tcpEndPoint);
this.conn.connect()