summaryrefslogtreecommitdiff
path: root/jstests/replsets/user_management_wc.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/user_management_wc.js')
-rw-r--r--jstests/replsets/user_management_wc.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/jstests/replsets/user_management_wc.js b/jstests/replsets/user_management_wc.js
index 691a2520544..3aa186df277 100644
--- a/jstests/replsets/user_management_wc.js
+++ b/jstests/replsets/user_management_wc.js
@@ -132,10 +132,7 @@ load('jstests/multiVersion/libs/auth_helpers.js');
}
function testValidWriteConcern(cmd) {
- cmd.req.writeConcern = {
- w: 'majority',
- wtimeout: 25000
- };
+ cmd.req.writeConcern = {w: 'majority', wtimeout: 25000};
jsTest.log("Testing " + tojson(cmd.req));
dropUsersAndRoles();
@@ -148,9 +145,7 @@ load('jstests/multiVersion/libs/auth_helpers.js');
}
function testInvalidWriteConcern(cmd) {
- cmd.req.writeConcern = {
- w: 15
- };
+ cmd.req.writeConcern = {w: 15};
jsTest.log("Testing " + tojson(cmd.req));
dropUsersAndRoles();