Skip to content

Commit 6344e4f

Browse files
committed
CSHARP-4095: Updated Atlas Data Lake spec tests that were missed.
1 parent c7c1510 commit 6344e4f

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

tests/MongoDB.Driver.Tests/Specifications/atlas-data-lake/tests/estimatedDocumentCount.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,9 @@
1515
{
1616
"command_started_event": {
1717
"command": {
18-
"aggregate": "driverdata",
19-
"pipeline": [
20-
{
21-
"$collStats": {
22-
"count": {}
23-
}
24-
},
25-
{
26-
"$group": {
27-
"_id": 1,
28-
"n": {
29-
"$sum": "$count"
30-
}
31-
}
32-
}
33-
]
18+
"count": "driverdata"
3419
},
35-
"command_name": "aggregate",
20+
"command_name": "count",
3621
"database_name": "test"
3722
}
3823
}

tests/MongoDB.Driver.Tests/Specifications/atlas-data-lake/tests/estimatedDocumentCount.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ tests:
1313
-
1414
command_started_event:
1515
command:
16-
aggregate: *collection_name
17-
pipeline:
18-
- $collStats: { count: {} }
19-
- $group: { _id: 1, n: { $sum: $count }}
20-
command_name: aggregate
16+
count: *collection_name
17+
command_name: count
2118
database_name: *database_name

0 commit comments

Comments
 (0)