Skip to content

Commit

Permalink
NODE-464 Updated mongodb-core to 1.1.29 that uses a single socket con…
Browse files Browse the repository at this point in the history
…nection to arbiters and hidden servers.
  • Loading branch information
christkv committed May 17, 2015
1 parent 384dfee commit acde0c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Expand Up @@ -2,6 +2,7 @@
-----------------
- NODE-463 db.close immediately executes its callback.
- Don't only emit server close event once (Issue #1276, https://github.com/vkarpov15).
- NODE-464 Updated mongodb-core to 1.1.29 that uses a single socket connection to arbiters and hidden servers.

2.0.31 05-08-2015
-----------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -13,7 +13,7 @@
"legacy"
],
"dependencies": {
"mongodb-core": "1.1.26"
"mongodb-core": "1.1.29"
, "readable-stream": "1.0.31"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion test/functional/cursor_tests.js
Expand Up @@ -2575,7 +2575,6 @@ exports['Should correctly handle batchSize of 2'] = {
db.close();

cursor.nextObject(function(err, obj) {
console.dir(err)
test.equal(null, err);

cursor.nextObject(function(err, obj) {
Expand Down
3 changes: 2 additions & 1 deletion test/functional/db_tests.js
Expand Up @@ -137,9 +137,10 @@ exports.shouldCorrectlyHandleFailedConnection = {
test: function(configuration, test) {
var Db = configuration.require.Db
, Server = configuration.require.Server;

console.log("-------------------------------------------- 0")
var fs_client = new Db(configuration.database, new Server("127.0.0.1", 25117, {auto_reconnect: false}), configuration.writeConcernMax());
fs_client.open(function(err, fs_client) {
console.log("-------------------------------------------- 1")
test.ok(err != null)
test.done();
})
Expand Down

0 comments on commit acde0c2

Please sign in to comment.