Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3724

fle2v2-CreateCollection tests expect embedded nulls to be treated specially

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4
    • Affects Version/s: None
    • Component/s: Client Side Encryption
    • None
    • Hide

      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.

      Show
      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.

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

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: