summaryrefslogtreecommitdiff
path: root/jstests/auth/repl.js
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2015-11-30 06:02:24 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2015-12-01 05:19:51 -0500
commitab4f7980563b8db511a6957fcc8505e5d627dc65 (patch)
treebf2aa21dafe24f249e1ffc88b6a673df0c65d97e /jstests/auth/repl.js
parentdc41e244400c88a361ff2c1114a6ef91ef78f723 (diff)
downloadmongo-ab4f7980563b8db511a6957fcc8505e5d627dc65.tar.gz
SERVER-21708 unify timeouts in auth/repl.js
Diffstat (limited to 'jstests/auth/repl.js')
-rw-r--r--jstests/auth/repl.js10
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({