[SERVER-36308] Fix non-deterministic test in noPassthrough/pipeline_optimization_failpoint.js Created: 26/Jul/18  Updated: 29/Oct/23  Resolved: 30/Jul/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Bug Priority: Major - P3
Reporter: Varun Arora Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-37369 Ensure the noPassthrough/pipeline_opt... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2018-08-13
Participants:
Linked BF Score: 18

 Description   

Sort order of results being compared is non-deterministic, causing test to occasionally fail as it checks for array equality. Test should instead check for set of elements in array being identical.



 Comments   
Comment by Githook User [ 30/Jul/18 ]

Author:

{'username': 'dbradf', 'name': 'David Bradford', 'email': 'david.bradford@mongodb.com'}

Message: SERVER-36308: Ensure pipeline optimization failpoint tests are deterministic
Branch: master
https://github.com/mongodb/mongo/commit/7439edb75ee2c02c210dd0c9290193c9264236ac

Generated at Thu Feb 08 04:42:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.