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

Test limit and batchSize with mock server

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-rc0
    • Affects Version/s: None
    • Component/s: libmongoc, Testing
    • None

      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.

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

              Created:
              Updated:
              Resolved: