Skip validate/dbhash hook in jstestfuzz suite if invalid views are present in system.views

XMLWordPrintableJSON

    • Fully Compatible
    • 0
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      The fuzzer routinely performs inserts directly into system.views. Many of these are invalid, which causes listCollections to fail. The dbhash and validation hooks both rely on listCollections, and the presence of invalid views will cause tests to fail.

      For now, we should skip the hooks entirely in jstestfuzz suites if listCollections fails with an invalid-views specific error code.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: