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

Exhaust-cursor tests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      Test exhaust cursors exhaustively. Cover the same four cases as PyMongo:

      https://github.com/mongodb/mongo-python-driver/blob/master/test/test_client.py#L844

      ... but do it for both pooled and single-threaded mongoc_client_t's, and use mock_server_t instead of a live server. So the matrix is:

      • Network error / server error
      • Error during initial query / getmore
      • Pooled / single-threaded client

            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: