diff options
Diffstat (limited to 'jstests/repl/repl11.js')
-rw-r--r-- | jstests/repl/repl11.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/repl/repl11.js b/jstests/repl/repl11.js index c5c63b3..aef9872 100644 --- a/jstests/repl/repl11.js +++ b/jstests/repl/repl11.js @@ -35,6 +35,10 @@ doTest = function( signal ) { sa = s.getDB( baseName ).a; assert.soon( function() { return 1 == sa.count(); } ); + s.getDB( "local" ).auth( "repl", "foo" ); + assert.commandWorked( s.getDB( "admin" )._adminCommand( {serverStatus:1,repl:1} ) ); + assert.commandWorked( s.getDB( "admin" )._adminCommand( {serverStatus:1,repl:2} ) ); + rt.stop( false, signal ); ma.save( {} ); |