TimeoutError not raised if write fails due to wtimeout.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Hackett
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: