Add some way to automatically wrap all db commands in "assert.commandWorked" in jstests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently tests must manually wrap all db commands in an assertion to avoid failures that can be hard to diagnose if a command silently fails. Being able to opt in (or assume it is wanted if no assert.commandWorked calls are present) to automatic wrapping would be very useful.

            Assignee:
            Unassigned
            Reporter:
            Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: