Update README for tests and fix tcp port for default

This commit is contained in:
Nicolas Dextraze
2016-10-30 09:44:29 -07:00
parent 29ee990a0a
commit 93e61434dd
3 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@ if (process.env.TESTS_VERBOSE_LOGGING === '1') {
settings.log = new FileLogger('test-verbose.log');
}
var tcpEndPoint = {hostname: 'localhost', port: 1112};
var tcpEndPoint = {hostname: 'localhost', port: 1113};
function setUp(cb) {
this.log = settings.log;

View File

@ -5,7 +5,7 @@ var testBase = require('./common/base_test');
module.exports = {
'Connect To Endpoint Happy Path': function(test) {
var tcpEndpoint = {hostname: 'localhost', port: 1112};
var tcpEndpoint = {hostname: 'localhost', port: 1113};
var conn = client.EventStoreConnection.create(testBase.settings(), tcpEndpoint);
conn.connect()
.catch(function(err) {