Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2523

Support Optional Inserted Ids in CSFLE Unified Tests

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Component/s: Unified Test Runner
    • Needed
    • Hide

      Drivers may decide to update the CSFLE unified tests for rewrap many data key if they implement the optional insertedIds field in the bulk write response but needed to work around the fact that the field wasn't defined in the results in the unified tests.

      Show
      Drivers may decide to update the CSFLE unified tests for rewrap many data key if they implement the optional insertedIds field in the bulk write response but needed to work around the fact that the field wasn't defined in the results in the unified tests.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4559 Fixed 1.24.0
      CXX-2640 Done 3.8.0
      CSHARP-4485 Fixed 2.20.0
      GODRIVER-2739 Done
      JAVA-4848 Fixed 4.9.0
      NODE-4973 Fixed 5.0.0
      MOTOR-1086 Duplicate
      PYTHON-3573 Won't Do
      PHPLIB-1068 Fixed 1.16.0
      RUBY-3208 Backlog
      RUST-1573 Backlog
      SWIFT-1694 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4559 Fixed 1.24.0 CXX-2640 Done 3.8.0 CSHARP-4485 Fixed 2.20.0 GODRIVER-2739 Done JAVA-4848 Fixed 4.9.0 NODE-4973 Fixed 5.0.0 MOTOR-1086 Duplicate PYTHON-3573 Won't Do PHPLIB-1068 Fixed 1.16.0 RUBY-3208 Backlog RUST-1573 Backlog SWIFT-1694 Won't Do

      Summary

      The rewrap many data key CSFLE unified spec tests omit the optional insertIds property on the BulkWriteResult. This causes failures for drivers that have the optional field and assert exact equality of the result object in the unified tests.

      Motivation

      Who is the affected end user?

      Drivers that include the insertedIds optional field in the BulkWriteResult.

      How does this affect the end user?

      More of an annoyance, it can be worked around.

      How likely is it that this problem or use case will occur?

      Currently affects Node, maybe other drivers are also working around this.

      If the problem does occur, what are the consequences and how severe are they?

      Minor annoyance from possible test failure.

      Is this issue urgent?

      Not urgent

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Only tests.

            Assignee:
            Unassigned Unassigned
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: