-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Component/s: Client Side Encryption
-
None
-
Needed
-
DRIVERS-2524 added a legacy format QE test with embedded null fields in a command_started_event:
- command_started_event: command: create: *encrypted_collection_name encryptedFields: &encrypted_fields_expectation { # Expect state collections are not included in the encryptedFields sent to the server. "escCollection": null, "ecocCollection": null, "eccCollection": null,
AFAIK only top-level nulls are intended to be treated specially and embedded documents are supposed to be compared with exact match semantics. When implementing this test in PYTHON-3614 I had to add a workaround in pymongo's legacy test runner like this:
# Workaround an incorrect command started event in fle2v2-CreateCollection.yml # added in DRIVERS-2524. if key == "encryptedFields": for n in ("eccCollection", "ecocCollection", "escCollection"): if val.get(n) is None: val.pop(n, None)
Is this workaround is required or can we simply remove the escCollection/etc.. fields from the test?
- related to
-
PYTHON-3614 Update libmongocrypt payloads to new QE protocol
- Closed
-
DRIVERS-2524 Drivers should not create the ECC collection in v2 of queryable encryption
- Closed
- split to
-
CXX-2698 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Backlog
-
GODRIVER-2864 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Backlog
-
RUST-1671 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Backlog
-
CDRIVER-4657 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
CSHARP-4664 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
JAVA-5016 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
MOTOR-1138 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
NODE-5327 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
PHPLIB-1157 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
PYTHON-3724 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed
-
RUBY-3270 fle2v2-CreateCollection tests expect embedded nulls to be treated specially
- Closed