[CSHARP-3099] Use sort when verifying contents of outcome collections Created: 08/May/20  Updated: 15/Jun/20  Resolved: 15/Jun/20

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Dmitry Lukyanov (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

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.


 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 15/Jun/20 ]

The c# base test runner already dosn't have ordering assumptions for outcome collection.

Generated at Wed Feb 07 21:44:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.