[SERVER-43238] Use a clock jitter constant for timing unittest on windows Created: 09/Sep/19 Updated: 29/Oct/23 Resolved: 12/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Execution Team 2019-09-23 | ||||
| Participants: | |||||
| Linked BF Score: | 11 | ||||
| Description |
|
On older Windows systems it is possible for the clock to jump backwards, and in rare cases this affects unit tests for d_concurrency.cpp. Work around this issue by doing less strict comparisons on Windows machines. |
| Comments |
| Comment by Githook User [ 12/Sep/19 ] |
|
Author: {'name': 'Geert Bosch', 'username': 'GeertBosch', 'email': 'geert.bosch@mongodb.com'}Message: |