diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/auth_create_user.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/auth_create_user.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/jstests/concurrency/fsm_workloads/auth_create_user.js b/jstests/concurrency/fsm_workloads/auth_create_user.js index 7fe71f006fb..e49c63bc68e 100644 --- a/jstests/concurrency/fsm_workloads/auth_create_user.js +++ b/jstests/concurrency/fsm_workloads/auth_create_user.js @@ -5,7 +5,7 @@ * * Repeatedly creates new users on a database. */ -load('jstests/concurrency/fsm_workload_helpers/drop_utils.js'); // for dropUsers +load('jstests/concurrency/fsm_workload_helpers/drop_utils.js'); // for dropUsers var $config = (function() { @@ -27,11 +27,7 @@ var $config = (function() { function createUser(db, collName) { var username = uniqueUsername(this.prefix, this.tid, this.num++); - db.createUser({ - user: username, - pwd: 'password', - roles: ['readWrite', 'dbAdmin'] - }); + db.createUser({user: username, pwd: 'password', roles: ['readWrite', 'dbAdmin']}); // Verify the newly created user exists, as well as all previously created users for (var i = 0; i < this.num; ++i) { @@ -51,8 +47,8 @@ var $config = (function() { })(); var transitions = { - init: { createUser: 1 }, - createUser: { createUser: 1 } + init: {createUser: 1}, + createUser: {createUser: 1} }; function teardown(db, collName, cluster) { |