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

TimeoutError not raised if write fails due to wtimeout.

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

      After an insert, update, or remove with 'wtimeout' fails, PyMongo raises OperationFailure. It should raise the subclass TimeoutError instead.

      Update and reenable the test of TimeoutError in TestCollection.test_last_error_options.

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

              Created:
              Updated:
              Resolved: