Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38250

Fix assertion message creation in assert.docEq

    • Fully Compatible
    • ALL
    • Sharding 2018-12-03

      SERVER-37868 refactored assert.docEq to use a helper method to compare documents. This inadvertently broke the assertion message thrown by this method, because it tries to log the sorted versions of the compared documents, which are only in scope within the helper, not where the assertion is created.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: