Investigate unnecessary assertions on results length in jstests

XMLWordPrintableJSON

    • Server Security
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There have been several instances of false positive BFs due to the number of results returned being higher than expected. These false positives are sometimes caused by unrelated system behaviors on the server that add extra results.

      To reduce these false positives, modify the tests to avoid asserting on the exact number of results when possible. Instead, assert that the expected documents or results are included in the returned data.

      Refer to examples in BF-29038, BF-34560 for similar cases.

              Assignee:
              Unassigned
              Reporter:
              Adrian Gonzalez Montemayor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: