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

Unified test runner should append session to all operations that support it

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.18.0
    • Affects Version/s: 1.18.0-alpha
    • Component/s: Testing
    • None

      While implementing CDRIVER-3963, I realized that libmongoc's unified test runner only appends sessions (i.e. mongoc_client_session_append) for the following operations:

      • operation_create_index
      • operation_create_collection
      • operation_insert_one

      This dates back to 56ada16 for CDRIVER-3422, so it looks like this is just an incomplete implementation of the spec intended to pass the original tests from DRIVERS-709.

      I plan to add support for "operation_find" in CDRIVER-3963, but wanted to create this ticket to cover all remaining operations that are documented as supporting a "session" option.

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: