summaryrefslogtreecommitdiff
path: root/jstests/repl
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-05-21 15:34:58 -0400
committerGreg Studer <greg@10gen.com>2012-05-21 15:34:58 -0400
commit847b343fa5a23b02fddb29b12dd689fde0e1fe91 (patch)
tree465bd23630572739b13d6f2f8ebad20326e5a1b1 /jstests/repl
parent03cd7b93e666d80a3640171ba1af8407b0591591 (diff)
downloadmongo-847b343fa5a23b02fddb29b12dd689fde0e1fe91.tar.gz
SERVER-5876 buildbot auth.js + others - make sure we wait for replication of users added for security
Diffstat (limited to 'jstests/repl')
-rw-r--r--jstests/repl/repl11.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/repl/repl11.js b/jstests/repl/repl11.js
index aef9872f7d0..95b5811ab4b 100644
--- a/jstests/repl/repl11.js
+++ b/jstests/repl/repl11.js
@@ -3,7 +3,7 @@
var baseName = "jstests_repl11test";
setAdmin = function( n ) {
- n.getDB( "admin" ).addUser( "super", "super" );
+ n.getDB( "admin" ).addUser( "super", "super", false, 3 );
n.getDB( "local" ).addUser( "repl", "foo" );
n.getDB( "local" ).system.users.findOne();
}
@@ -17,7 +17,7 @@ doTest = function( signal ) {
rt = new ReplTest( baseName );
m = rt.start( true, {}, false, true );
- m.getDB( baseName ).addUser( "test", "test" );
+ m.getDB( baseName ).addUser( "test", "test", false, 3 );
setAdmin( m );
rt.stop( true );