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

Use a clock jitter constant for timing unittest on windows

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-09-23
    • 11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: