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

Test limit and batchSize with mock server

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.0-rc0
    • None
    • libmongoc, tests
    • None

    Description

      Limit and batchSize tests implemented for CDRIVER-982 don't work with find commands. Rewrite using the mock server to test that the nToReturn header of OP_QUERY and OP_GETMORE messages is properly filled out for legacy queries, and that "limit" and "batchSize" options are properly set for "find" and "getMore" commands.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: