diff options
author | Mathias Stearn <mathias@10gen.com> | 2016-06-24 13:00:15 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2016-06-24 13:00:15 -0400 |
commit | a5e8fb2029c4d96daa0d07f287bf07a68a3ec1fa (patch) | |
tree | 1e7e18eba9b1e38fc98c5513a9ab160c57aeeff6 /jstests/auth | |
parent | 7ca9c5b6b9c64d1f332a08632f4ba5fd3dc1ff39 (diff) | |
download | mongo-a5e8fb2029c4d96daa0d07f287bf07a68a3ec1fa.tar.gz |
Revert "SERVER-5905 Add collStats aggregation stage"
This reverts commit a22d2843ccab7f0333434d1124358c5c182427f6.
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index f92d2664cca..2527e679c66 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -358,52 +358,6 @@ var authCommandsLib = { ] }, { - testname: "aggregate_collStats", - command: {aggregate: "foo", pipeline: [{$collStats: {latencyStats: {}}}]}, - setup: function(db) { - db.createCollection("foo"); - }, - teardown: function(db) { - db.foo.drop(); - }, - testcases: [ - { - runOnDb: firstDbName, - roles: { - read: 1, - readAnyDatabase: 1, - readWrite: 1, - readWriteAnyDatabase: 1, - dbAdmin: 1, - dbAdminAnyDatabase: 1, - dbOwner: 1, - clusterMonitor: 1, - clusterAdmin: 1, - backup: 1, - root: 1, - __system: 1 - }, - privileges: - [{resource: {db: firstDbName, collection: "foo"}, actions: ["collStats"]}] - }, - { - runOnDb: secondDbName, - roles: { - readAnyDatabase: 1, - readWriteAnyDatabase: 1, - dbAdminAnyDatabase: 1, - clusterMonitor: 1, - clusterAdmin: 1, - backup: 1, - root: 1, - __system: 1 - }, - privileges: - [{resource: {db: secondDbName, collection: "foo"}, actions: ["collStats"]}] - } - ] - }, - { testname: "appendOplogNote", command: {appendOplogNote: 1, data: {a: 1}}, skipSharded: true, |