Add tests verifying session options are passed correctly in CRUD operations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      In https://jira.mongodb.org/browse/RUBY-1865 many tests were added for various CRUD options being passed correctly. Unfortunately the session options require more handling:

      • Pre-3.6 servers fail when given session argument
      • Therefore, session must be conditional on server version
      • We do want to assert that sessions are passed in correctly
      • We may wish to test that specifying a nil session explicitly in an operation does not pass a session to the server

            Assignee:
            Unassigned
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: