Implemented connection to cluster using gossip seeds
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user