diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-11-30 06:02:24 -0500 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-12-01 05:19:51 -0500 |
commit | ab4f7980563b8db511a6957fcc8505e5d627dc65 (patch) | |
tree | bf2aa21dafe24f249e1ffc88b6a673df0c65d97e /jstests/auth/repl.js | |
parent | dc41e244400c88a361ff2c1114a6ef91ef78f723 (diff) | |
download | mongo-ab4f7980563b8db511a6957fcc8505e5d627dc65.tar.gz |
SERVER-21708 unify timeouts in auth/repl.js
Diffstat (limited to 'jstests/auth/repl.js')
-rw-r--r-- | jstests/auth/repl.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/auth/repl.js b/jstests/auth/repl.js index 7a841c87e48..8e384f91296 100644 --- a/jstests/auth/repl.js +++ b/jstests/auth/repl.js @@ -76,7 +76,7 @@ var AuthReplTest = function(spec) { privileges: [ { resource: {cluster: true}, actions: ["listDatabases"] } ], - writeConcern: {w: 2, wtimeout: 5000} + writeConcern: {w: 2, wtimeout: 15000} }); assert.commandWorked(res); }; @@ -85,7 +85,7 @@ var AuthReplTest = function(spec) { var res = adminPri.runCommand({ updateUser: testUser, roles: [testRole2], - writeConcern: {w: 2, wtimeout: 5000} + writeConcern: {w: 2, wtimeout: 15000} }); assert.commandWorked(res); }; @@ -109,10 +109,10 @@ var AuthReplTest = function(spec) { */ var cleanup = function() { var res = adminPri.runCommand({dropUser: testUser, - writeConcern: {w: 2, wtimeout: 5000}}); + writeConcern: {w: 2, wtimeout: 15000}}); assert.commandWorked(res); res = adminPri.runCommand({dropAllRolesFromDatabase: 1, - writeConcern: {w: 2, wtimeout: 5000}}); + writeConcern: {w: 2, wtimeout: 15000}}); assert.commandWorked(res); }; @@ -239,7 +239,7 @@ masterDB.createUser({user: "root", pwd: "pass", roles: ["root"]}); masterDB.auth("root", "pass"); // ensure that master/slave replication is up and running -masterDB.foo.save({}, { writeConcern: { w: 2, wtimeout: 5000 }}); +masterDB.foo.save({}, { writeConcern: { w: 2, wtimeout: 15000 }}); masterDB.foo.drop(); authReplTest = AuthReplTest({ |