Permalink
Browse files

buildbot fix slaveok_routing test

  • Loading branch information...
1 parent e9faeb9 commit 5b1214043101923f530ab291f5b1e7f93b9547f6 @stbrody stbrody committed Jun 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 jstests/sharding/slaveok_routing.js
@@ -33,8 +33,11 @@ var nodeCount = replTest.nodes.length;
* connections to access the server from localhost connections if there
* is no admin user.
*/
+var adminDB = mongos.getDB( 'admin' )
+adminDB.addUser( 'user', 'password', false, 3 );
+adminDB.auth( 'user', 'password' );
var priAdminDB = replTest.getPrimary().getDB( 'admin' );
-priAdminDB.addUser( 'user', 'user', false, 3 );
+priAdminDB.addUser( 'user', 'password', false, 3 );
coll.drop();
coll.setSlaveOk( true );

0 comments on commit 5b12140

Please sign in to comment.