Don't implicitly ignore _id in jstests/aggregation/extras/utils.js comparison functions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      jstests/aggregation/extras/utils.js provides a set of functions that can be used to compare objects and/or arrays. Some of these helpers ignore the _id field implicitly which can lead to test bugs where callers expect _id values to be compared. We should make any opt-out of _id comparison explicit in these helpers.

            Assignee:
            James Wahlin
            Reporter:
            Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: