Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-403

Do not rely on structure in the natural ordering in clientTest

    XMLWordPrintableJSON

Details

    Description

      According to http://docs.mongodb.org/manual/reference/method/cursor.sort/#return-natural-order:

      "The $natural parameter returns items according to their natural order within the database. This ordering is an internal implementation feature, and you should not rely on any particular structure within it."

      Remove test assert which makes assumptions on the document returned by findOne({})

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: