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

improve sleepmillis() resolution under Windows

    XMLWordPrintable

Details

    • ALL
    • 0

    Description

      sleepmillis() under Windows can sometimes exceed the requested duration by an unacceptable period.

      When this happens, this causes unit tests such as BasicTests::sleepiest to fail because the test is expecting the actual sleep duration to fall within a given range.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: