diff options
author | David Storch <david.storch@10gen.com> | 2015-08-20 11:57:14 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-08-21 12:05:47 -0400 |
commit | 94271c110285198f4203c377788ac1d579b23fd2 (patch) | |
tree | b30a37119db357b36fdace6b7fbd77775190e97c /jstests/auth/server-4892.js | |
parent | 4ec9a0cc887a77c1e6eb62526b87579ded3d4433 (diff) | |
download | mongo-94271c110285198f4203c377788ac1d579b23fd2.tar.gz |
SERVER-19572 enable --readMode commands for auth suites
Diffstat (limited to 'jstests/auth/server-4892.js')
-rw-r--r-- | jstests/auth/server-4892.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/server-4892.js b/jstests/auth/server-4892.js index 2a3bf297712..12fc0d8c067 100644 --- a/jstests/auth/server-4892.js +++ b/jstests/auth/server-4892.js @@ -66,7 +66,7 @@ with_mongod( ['--auth'], function runTest( mongod ) { expectNumLiveCursors( mongod, 0 ); - var cursor = somedb.data.find({}, ['_id']).batchSize(1); + var cursor = somedb.data.find({}, {'_id': 1}).batchSize(1); cursor.next(); expectNumLiveCursors( mongod, 1 ); |