Switch back non-cluster tests to localhost
This commit is contained in:
parent
faed60b8ac
commit
0463d85cfe
|
@ -9,9 +9,9 @@ var settings = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var gossipSeeds = [
|
var gossipSeeds = [
|
||||||
new client.GossipSeed({host: 'localhost', port: 1113}),
|
new client.GossipSeed({host: '192.168.33.10', port: 1113}),
|
||||||
new client.GossipSeed({host: 'localhost', port: 2113}),
|
new client.GossipSeed({host: '192.168.33.11', port: 1113}),
|
||||||
new client.GossipSeed({host: 'localhost', port: 3113})
|
new client.GossipSeed({host: '192.168.33.12', port: 1113})
|
||||||
];
|
];
|
||||||
|
|
||||||
var conn = client.createConnection(settings, gossipSeeds);
|
var conn = client.createConnection(settings, gossipSeeds);
|
||||||
|
|
|
@ -12,7 +12,7 @@ if (process.env.TESTS_VERBOSE_LOGGING === '1') {
|
||||||
settings.log = new FileLogger('test-verbose.log');
|
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) {
|
function setUp(cb) {
|
||||||
this.log = settings.log;
|
this.log = settings.log;
|
||||||
|
|
|
@ -6,7 +6,7 @@ var testBase = require('./common/base_test');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'Connect To Endpoint Happy Path': function(test) {
|
'Connect To Endpoint Happy Path': function(test) {
|
||||||
test.expect(1);
|
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);
|
var conn = client.EventStoreConnection.create(testBase.settings(), tcpEndpoint);
|
||||||
conn.connect()
|
conn.connect()
|
||||||
.catch(function(err) {
|
.catch(function(err) {
|
||||||
|
@ -45,7 +45,7 @@ module.exports = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
'Create a connection with tcp://host:port string': function(test) {
|
'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();
|
conn.close();
|
||||||
test.done();
|
test.done();
|
||||||
}/*,
|
}/*,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user