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

Add tests verifying session options are passed correctly in CRUD operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Tests
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: