Verify that generated validation errors are logged when a collection validator's validationAction is set to 'warn'

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query 2020-07-27, Query 2020-08-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The following block should be updated to expose a generated validation error when one is generated by doc_validation_error::generateError()). As part of this work, jstests/core/doc_validation_options.js should be updated to check that the logs contain the generated message. This can be done using checkLog to examine the contents of the logs.

            Assignee:
            Jenny Peshansky (Inactive)
            Reporter:
            Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: