Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10438

Database Mock Objects should be able to Return Errors to Queries

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.5.1
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      I want to be able to test that my code properly responds to errors which might be raised by the database when I make a query. I want to be able to feed an error response for a particular namespace to the MockRemoteDBServer, and get it back when I make a query to that namespace.

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: