Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2254

Use sort when verifying contents of outcome collections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.20.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None

      Description of Drivers Ticket:

      Because the server doesn't guarantee that documents returned by a find call will be in inserted order, spec test runners should be updated to do one of the following when verifying the contents of a collection:

      1. Compare the find results against the data in the spec test with no ordering assumptions
      2. Use a sort of _id:1 when doing the find
        See DRIVERS-1196 for updated details.

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: