[SERVER-67174] Replace RNG with hardcoded values for GeoHash test Created: 10/Jun/22  Updated: 29/Oct/23  Resolved: 10/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-06-13
Participants:
Linked BF Score: 161

 Description   

It seems that the PseudoRandom class works slightly different on macOS compared to other OS. We should replace the RNG with their hardcoded equivalents to avoid issues when comparing against known values.



 Comments   
Comment by Githook User [ 10/Jun/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-67174 Hardcode RNG values for GeoHash test
Branch: master
https://github.com/mongodb/mongo/commit/78cfc8dfb5b608e7ca21d009abe9307760d0c9c0

Generated at Thu Feb 08 06:07:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.