diff --git a/HISTORY.md b/HISTORY.md index ec1cbfbeaf..141b88f1ae 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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 ----------------- diff --git a/package.json b/package.json index f25f55a73b..9975894b90 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "legacy" ], "dependencies": { - "mongodb-core": "1.1.26" + "mongodb-core": "1.1.29" , "readable-stream": "1.0.31" }, "devDependencies": { diff --git a/test/functional/cursor_tests.js b/test/functional/cursor_tests.js index de0bb53fa2..5f64c218c1 100644 --- a/test/functional/cursor_tests.js +++ b/test/functional/cursor_tests.js @@ -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) { diff --git a/test/functional/db_tests.js b/test/functional/db_tests.js index 4f1a67c489..8a31108d3e 100644 --- a/test/functional/db_tests.js +++ b/test/functional/db_tests.js @@ -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(); })