Ability to mock command responses on the server

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some tests require reproduction of non-trivial conditions such as network instability between cluster members.
      It'd be great if we can have a mechanism similar to configureFailPoint: "failCommand" where we'll be able to mock the server response.
      Ideally we'd be able to replace parts of the response - for example, set commitmentState: false for replSetGetConfig.

              Assignee:
              Benjamin Caimano (Inactive)
              Reporter:
              Tomer Yakir
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: