[SERVER-43767] free_mon_controller_test relies on specific PseudoRandom sequence. Created: 02/Oct/19  Updated: 29/Oct/23  Resolved: 03/Oct/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.3.1

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

Issue Links:
Gantt Dependency
has to be done before SERVER-43641 platform/random.h causing bugs, upgra... Closed
Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-10-07
Participants:

 Description   

An upgrade to PseudoRandom was reverted due to a test relying on the specific bits output by PseudoRandom(0). This is not a good situation (SERVER-43641).

Tests must not hardcode this sort of thing. If we do, we can never make improvements to the generators without updating all such tests.



 Comments   
Comment by Githook User [ 03/Oct/19 ]

Author:

{'name': 'Billy Donahue', 'username': 'BillyDonahue', 'email': 'billy.donahue@mongodb.com'}

Message: SERVER-43767 fix free_mon_controller_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/2961e15b5fd4534b324d78557afcf795aba056b6

Comment by Billy Donahue [ 03/Oct/19 ]

https://mongodbcr.appspot.com/485760005/

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