[SERVER-74239] Relax test constraints for sleep_for on Windows systems Created: 21/Feb/23 Updated: 29/Oct/23 Resolved: 08/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alex Li | Assignee: | Alex Li |
| 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 | ||||||||
| Backport Requested: |
v6.3
|
||||||||
| Sprint: | Service Arch 2023-03-06, Service Arch 2023-03-20 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 8 | ||||||||
| Description |
|
The docs for sleep_for state that the thread sleeps for at least the provided sleep duration, meaning the precision expected in tick_source_test is too strict. Loosen the assertion, and also make a comment on stdx::sleep_for restating the above. |
| Comments |
| Comment by Liubov Molchanova [ 18/Apr/23 ] |
|
Requesting a backport for v6.3 as the issue reproduced in BFG-1898174 |
| Comment by Githook User [ 07/Mar/23 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}Message: |