Switch back non-cluster tests to localhost
This commit is contained in:
parent
faed60b8ac
commit
0463d85cfe
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}/*,
|
||||
|
|
Loading…
Reference in New Issue
Block a user