Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-374

PyMongo doesn't properly handle some error objects from mongos

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.3
    • None
    • None

    Description

      This is causing test_drop_indexes_non_existant and test_error_code (both in test_collection.py) to fail when run against mongos.

      In the case of test_drop_indexes_non_existant helpers._check_command_response isn't checking allowable_errors against the 'raw' dict. In the case of test_error_code Connection._check_response_to_last_error isn't getting the error code out of the 'errObjects' dict.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: