Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-411

"TestBufferedBulkInserterInserts " in db unit test suite is flaky

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      occasionally fails with:

       [2014/11/25 11:25:11.787] 2014-11-25T11:25:11.787-0500 I QUERY    [conn4] command tools-test.$cmd command: dropDatabase { dropDatabase: 1 } keyUpdates:0 numYields:0  reslen:61 718ms
       [2014/11/25 11:25:11.787] Failures:
       [2014/11/25 11:25:11.787]   * /data/mci/shell/src/common/db/buffered_bulk_test.go
       [2014/11/25 11:25:11.787]   Line 35:
       [2014/11/25 11:25:11.787]   Expected: nil
       [2014/11/25 11:25:11.787]   Actual:   'error writing bulk insert: read tcp 127.0.0.1:27017: i/o timeout'
       [2014/11/25 11:25:11.787] 35 assertions thus far
       [2014/11/25 11:25:11.787] --- FAIL: TestBufferedBulkInserterInserts (24.18 seconds)

      It looks like in cases where dropping the DB takes a long time, the i/o timeout is triggered and an error is thrown. Probably needs to have socket timeout set to 0 somewhere.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: