[DRIVERS-2069] Check `Aggregate with deterministic encryption` FLE test. Created: 29/Jul/19  Updated: 03/Jun/22

Status: Backlog
Project: Drivers
Component/s: Extended JSON
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
Driver Changes: Needed

 Description   

I have a question about skipped FLE aggregation tests:
https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/aggregate.json
As I see the server tickets: `SERVER-40829` and `SERVER-39395` have been already implemented with the fix version/s: `4.1.12`. So, I removed `skipReason` nodes and have tried to validate the aggregation test results with server `4.2.0 rc3`.

Two skipped tests from the set have passed.

Now, the only failed test is: https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/aggregate.json#L112.

The failing reason is that this test has no result and the outcome collection is empty. AFAIK, Java driver has the same error for this test (with removed `skipReason`).
Is this test correct? Also, when are we planning to remove `skipReason`s for this test file?



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 29/Jul/19 ]

See, PR with suggested test changes: https://github.com/DmitryLukyanov/specifications/pull/1

Also, I fixed `countDocument` test. `MongoCryptD` returns the document with additional `$const` nodes, so I've added appropriate new nodes in the spec description.

Generated at Thu Feb 08 08:24:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.