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

Fix assertion message creation in assert.docEq

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2018-12-03

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: