Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2306

Add tests verifying session options are passed correctly in CRUD operations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests

      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 Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: