diff options
author | Romans Kasperovics <romans.kasperovics@mongodb.com> | 2022-06-07 12:22:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-07 12:45:26 +0000 |
commit | 049359d12397df50c7da71759110b1e66a6c175d (patch) | |
tree | d52adebc6898f94161b6ff02578a10fe5fddf5f4 | |
parent | b0c54a72ba3f81e63bb591ef8856cd5a90c25a15 (diff) | |
download | mongo-049359d12397df50c7da71759110b1e66a6c175d.tar.gz |
SERVER-66644 Fix and re-enable profile_operation_metrics.js for debug builds
(cherry picked from commit 76a6a05d16983e2d9432ffbfd1163bfb52a5f593)
-rw-r--r-- | jstests/noPassthrough/profile_operation_metrics.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/noPassthrough/profile_operation_metrics.js b/jstests/noPassthrough/profile_operation_metrics.js index 9b30ae94184..5cf86e36029 100644 --- a/jstests/noPassthrough/profile_operation_metrics.js +++ b/jstests/noPassthrough/profile_operation_metrics.js @@ -1,12 +1,10 @@ /** * Tests that resource consumption metrics are reported in the profiler. * - * TODO: SERVER-66644 Re-enable this test by removing the `__TEMPORARILY_DISABLED__` tag. * @tags: [ * requires_capped, * requires_replication, * requires_wiredtiger, - * __TEMPORARILY_DISABLED__ * ] */ (function() { @@ -1049,7 +1047,8 @@ const operations = [ name: 'groupStage', command: (db) => { // There should be 10 distinct values for 'a'. - let cur = db[collName].aggregate([{$group: {_id: "$a", count: {$sum: 1}}}]); + let cur = db[collName].aggregate([{$group: {_id: "$a", count: {$sum: 1}}}], + {allowDiskUse: false}); assert.eq(cur.itcount(), 10); }, profileFilter: {op: 'command', 'command.aggregate': collName}, |