Skip to content

Commit

Permalink
test(NODE-3778): sync ADL spec test files (#3059)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Nov 29, 2021
1 parent 43c323d commit 1294122
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
21 changes: 19 additions & 2 deletions test/spec/atlas-data-lake-testing/estimatedDocumentCount.json
Expand Up @@ -15,8 +15,25 @@
{
"command_started_event": {
"command": {
"count": "driverdata"
}
"aggregate": "driverdata",
"pipeline": [
{
"$collStats": {
"count": {}
}
},
{
"$group": {
"_id": 1,
"n": {
"$sum": "$count"
}
}
}
]
},
"command_name": "aggregate",
"database_name": "test"
}
}
]
Expand Down
7 changes: 6 additions & 1 deletion test/spec/atlas-data-lake-testing/estimatedDocumentCount.yml
Expand Up @@ -13,4 +13,9 @@ tests:
-
command_started_event:
command:
count: *collection_name
aggregate: *collection_name
pipeline:
- $collStats: { count: {} }
- $group: { _id: 1, n: { $sum: $count }}
command_name: aggregate
database_name: *database_name

0 comments on commit 1294122

Please sign in to comment.