Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-74239

Relax test constraints for sleep_for on Windows systems

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.3
    • Service Arch 2023-03-06, Service Arch 2023-03-20
    • 8

      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.

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: