[JAVA-5016] fle2v2-CreateCollection tests expect embedded nulls to be treated specially Created: 01/Jun/23  Updated: 06/Oct/23

Status: Backlog
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2619 fle2v2-CreateCollection tests expect ... Implementing
Upstream Changes Summary:

DRIVERS-2619:
This includes a fix to the fle2v2-CreateCollection test assertions. Update the fle2v2-CreateCollection test to this commit: mongodb/specifications@e59a0ac.

If the test previously passed, this may suggest a bug in the test runner of the Client Side Encryption legacy format. The matching behavior of `command_started_event` is expected to reject extra captured fields in the subdocuments of `command`.

This suggests test runners are expected not to allow extra fields in subdocuments of the command. Test runners are not expected to handle null values specially for subdocuments of the command.


 Description   

This ticket was split from DRIVERS-2619, please see that ticket for a detailed description.


Generated at Thu Feb 08 09:03:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.