Skip to content

Commit

Permalink
Fixed error in tests due to db name checking
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Sep 5, 2011
1 parent 05e8b4a commit d47151f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tools/replica_set_manager.js
Expand Up @@ -449,7 +449,7 @@ ReplicaSetManager.prototype.getConnection = function(node, callback) {

// Fire up the connection to check if we are running
// var db = new Db('node-mongo-blog', new Server(host, port, {}), {native_parser:true});
var connection = new Db("", new Server(this.host, this.mongods[node]["port"], {}));
var connection = new Db("replicaset_test", new Server(this.host, this.mongods[node]["port"], {}));
connection.open(function(err, connection) {
// We need to retry if we have not finished up the number of retries
if(err != null && self.retriedConnects < self.retries) {
Expand Down

0 comments on commit d47151f

Please sign in to comment.