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

Fix assertion message creation in assert.docEq

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: