Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4374

Only allow extra fields when matching root documents in unified spec tests

      In runner.centity_map_match is called with allow_extra=false (here), which seemingly conflicts with Allowing Extra Fields in Root-level Documents. This was responsible for a test failure I ran into while implementing CDRIVER-4199 (in find-comment.yml the test only matches the _id field of a selected document, despite it also containing an x field).

      This is somewhat related to CDRIVER-4329, although that had to do APM command/reply assertions and passing allow_extra=true unnecessarily when matching nested fields.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: