Switch back non-cluster tests to localhost

This commit is contained in:
Nicolas Dextraze 2017-01-28 18:35:35 -08:00
parent faed60b8ac
commit 0463d85cfe
3 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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();
}/*,