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

Database Mock Objects should be able to Return Errors to Queries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.5.1
    • Testing Infrastructure
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: