[JAVA-3727] Use sort when verifying contents of outcome collections Created: 08/May/20  Updated: 21/May/20  Resolved: 21/May/20

Status: Closed
Project: Java 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: Jeffrey Yemin
Resolution: Done 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 Jeffrey Yemin [ 21/May/20 ]

Done as part of new integration tests in scope of JAVA-3626

Generated at Thu Feb 08 09:00:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.