Skip to content

Commit fa93a58

Browse files
committed
add db aggregate
1 parent f999b63 commit fa93a58

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

source/crud/tests/unified/db-aggregate-rawdata.json

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/crud/tests/unified/db-aggregate-rawdata.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tests:
1919
- description: "Aggregate with rawData option"
2020
runOnRequirements:
2121
- minServerVersion: "8.2.0"
22+
topologies: [ replicaset ]
2223
serverless: forbid
2324
operations:
2425
- object: *database0
@@ -29,17 +30,18 @@ tests:
2930
- { $limit: 1 }
3031
- { $addFields: { dummy: 'dummy field' } }
3132
- { $project: { _id: 0, dummy: 1 } }
33+
rawData: &rawdata true
3234
expectEvents:
3335
- client: *client0
3436
events:
3537
- commandStartedEvent:
3638
command:
3739
aggregate: 1
3840
pipeline: *pipeline
41+
rawData: *rawdata
3942
- description: "Aggregate with rawData option on less than 8.2.0 - ignore argument"
4043
runOnRequirements:
4144
- maxServerVersion: "8.1.99"
42-
topologies: [ replicaset ]
4345
serverless: forbid
4446
operations:
4547
- object: *database0

0 commit comments

Comments
 (0)