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

test_exhaust_cursor fails on new reconnect code

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Mac OSX

      I am not sure why, but the test hangs when testing the exhaust cursors.

      {'kyle@viridian':'~/Programming/mongo-c-driver', 'git':'(detachedfromorigin/1.2.0-dev)'}
      $ ./test-libmongoc -f -p -l "/Client/exhaust*"                                                                                                                                                                                                                                
      {
        "uri": "mongodb://localhost:27017/",
        "is_mongos": "false",
        "host": {
          "sysname": "Darwin",
          "release": "14.5.0",
          "machine": "x86_64",
          "memory": {
            "pagesize": 4096,
            "npages": 0
          }
        },
        "options": {
          "parallel": "false",
          "fork": "false"
          "tracing": "false"
        },
        "tests": [
      cursor error: Failed to read 4 bytes from socket within 300000 milliseconds.
      Assertion failed: (r), function test_exhaust_cursor, file tests/test-mongoc-exhaust.c, line 164.
      Abort trap: 6
      

      I've noticed this on both a standalone and a single-node replica set.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: