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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.18.0
    • Affects Version/s: 1.18.0-alpha
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: