diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-12-04 17:36:24 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2014-01-07 18:17:42 -0500 |
commit | bf0efac7a9ce524341fb3967eb2b41c09afd1f1e (patch) | |
tree | 5f7f3bb7ccde1c99407c374f2b80018f2bef06ac /jstests/repl | |
parent | 3be94e6c074a53a0a203561b57540ff4f2cdc689 (diff) | |
download | mongo-bf0efac7a9ce524341fb3967eb2b41c09afd1f1e.tar.gz |
SERVER-12072 Don't swallow 'norepl' errors in the shell now that they no longer happen with default write concern
Diffstat (limited to 'jstests/repl')
-rw-r--r-- | jstests/repl/repl_auth.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/repl/repl_auth.js b/jstests/repl/repl_auth.js index 90c8f81f9d0..e6ebacfb220 100644 --- a/jstests/repl/repl_auth.js +++ b/jstests/repl/repl_auth.js @@ -4,8 +4,7 @@ var baseName = "jstests_repl11test"; var keyFilePath = "jstests/libs/key1"; setAdmin = function( n ) { - n.getDB( "admin" ).createUser({user: "super", pwd: "super", roles: jsTest.adminUserRoles}, - {w: 3, wtimeout: 30000}); + n.getDB( "admin" ).createUser({user: "super", pwd: "super", roles: jsTest.adminUserRoles}); } auth = function( n ) { @@ -17,8 +16,7 @@ doTest = function(signal, extraOpts) { rt = new ReplTest( baseName ); m = rt.start( true, {}, false, true ); - m.getDB( baseName ).createUser({user: "test", pwd: "test", roles: jsTest.basicUserRoles}, - {w: 3, wtimeout: 30000}); + m.getDB( baseName ).createUser({user: "test", pwd: "test", roles: jsTest.basicUserRoles}); setAdmin( m ); rt.stop( true ); |