mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
easy access to configdb
This commit is contained in:
parent
300485189d
commit
a58e2ce7bd
@ -103,7 +103,8 @@ ShardingTest = function( testName , numServers , verboseLevel ){
|
||||
this._serverNames.push( conn.name );
|
||||
}
|
||||
|
||||
this.s = startMongos( { port : 39999 , v : verboseLevel || 0 , configdb : "localhost:30000" } );
|
||||
this._configDB = "localhost:30000";
|
||||
this.s = startMongos( { port : 39999 , v : verboseLevel || 0 , configdb : this._configDB } );
|
||||
|
||||
var admin = this.admin = this.s.getDB( "admin" );
|
||||
this.config = this.s.getDB( "config" );
|
||||
|
Loading…
Reference in New Issue
Block a user