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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 1.18.0-alpha
    • 1.18.0
    • tests
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: