diff --git a/test/cluster/manual_test.js b/test/cluster/manual_test.js index ee9f3a7..c95ffb0 100644 --- a/test/cluster/manual_test.js +++ b/test/cluster/manual_test.js @@ -9,9 +9,9 @@ var settings = { } }; var gossipSeeds = [ - new client.GossipSeed({host: 'localhost', port: 1113}), - new client.GossipSeed({host: 'localhost', port: 2113}), - new client.GossipSeed({host: 'localhost', port: 3113}) + new client.GossipSeed({host: '192.168.33.10', port: 1113}), + new client.GossipSeed({host: '192.168.33.11', port: 1113}), + new client.GossipSeed({host: '192.168.33.12', port: 1113}) ]; var conn = client.createConnection(settings, gossipSeeds); diff --git a/test/common/base_test.js b/test/common/base_test.js index 5ea587a..16182c1 100644 --- a/test/common/base_test.js +++ b/test/common/base_test.js @@ -12,7 +12,7 @@ if (process.env.TESTS_VERBOSE_LOGGING === '1') { settings.log = new FileLogger('test-verbose.log'); } -var tcpEndPoint = {host: '192.168.33.10', port: 1113}; +var tcpEndPoint = {host: 'localhost', port: 1113}; function setUp(cb) { this.log = settings.log; diff --git a/test/connection_test.js b/test/connection_test.js index 23ba051..2a7b78f 100644 --- a/test/connection_test.js +++ b/test/connection_test.js @@ -6,7 +6,7 @@ var testBase = require('./common/base_test'); module.exports = { 'Connect To Endpoint Happy Path': function(test) { test.expect(1); - var tcpEndpoint = {host: '192.168.33.10', port: 1113}; + var tcpEndpoint = {host: 'localhost', port: 1113}; var conn = client.EventStoreConnection.create(testBase.settings(), tcpEndpoint); conn.connect() .catch(function(err) { @@ -45,7 +45,7 @@ module.exports = { }); }, 'Create a connection with tcp://host:port string': function(test) { - var conn = client.createConnection({}, 'tcp://192.168.33.10:1113'); + var conn = client.createConnection({}, 'tcp://localhost:1113'); conn.close(); test.done(); }/*,