[SERVER-37850] Increase lock deadlines in lock_stats_test Created: 31/Oct/18  Updated: 29/Oct/23  Resolved: 07/Nov/18

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

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: nyc, test-fix
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-11-19
Participants:
Linked BF Score: 0

 Description   

The test lock_stats_test.cpp uses deadlines of 1ms which in rare cases can result in measuring a 0 microsecond lock wait time.

We should raise these 1ms deadlines to higher values to make the test more reliable.



 Comments   
Comment by Githook User [ 07/Nov/18 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-37850 Increase lock deadlines in lock_stats_test
Branch: master
https://github.com/mongodb/mongo/commit/5557bcdbd91802214eac260118846b83bf938200

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