diff options
author | Kyle Banker <kylebanker@gmail.com> | 2010-07-30 10:09:47 -0400 |
---|---|---|
committer | Kyle Banker <kylebanker@gmail.com> | 2010-07-30 10:09:47 -0400 |
commit | 0e12d1012f489e38153ab43b16e9441c082ea805 (patch) | |
tree | d5e3edb21a712fab9816cd02bd01d7ef567babd2 /shell | |
parent | db8bd901d8be3eaeabc3a25646c3deb56e523d6d (diff) | |
download | mongo-0e12d1012f489e38153ab43b16e9441c082ea805.tar.gz |
minor: test fix
Diffstat (limited to 'shell')
-rw-r--r-- | shell/mongo_vstudio.cpp | 2 | ||||
-rw-r--r-- | shell/servers.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/mongo_vstudio.cpp b/shell/mongo_vstudio.cpp index c50356e952d..b63cdf74a25 100644 --- a/shell/mongo_vstudio.cpp +++ b/shell/mongo_vstudio.cpp @@ -990,7 +990,7 @@ const char * jsconcatcode = "return this._name;}\n" "DB.prototype.toString = function(){\n" "return this._name;}\n" - "DB.prototype.isMaster = function(){ return db.runCommand(\"isMaster\");}\n" + "DB.prototype.isMaster = function(){ return this.runCommand(\"isMaster\");}\n" "DB.prototype.currentOp = function(){\n" "return db.$cmd.sys.inprog.findOne();}\n" "DB.prototype.currentOP = DB.prototype.currentOp;\n" diff --git a/shell/servers.js b/shell/servers.js index 2f8faa1c744..e6e03551bf6 100644 --- a/shell/servers.js +++ b/shell/servers.js @@ -884,7 +884,7 @@ ReplSetTest = function( opts ){ this.initBridges(); } else { - this.ports = allocatePorts( this.numNodes , startPort ); + this.ports = allocatePorts( this.numNodes , this.startPort ); } this.nodes = []; |