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

Use duration ctor for asio timer in NIA setAlarm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc3
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21
    • 0

    Description

      NetworkInterfaceASIO currently creates timers for setAlarm using an absolute time point rather than a duration. Our tests were switched to use mock timers, and this is resulting in taking a mock timer time point and setting an expiry as though it was a time point on the system clock. Switching setAlarm to use durations relative to NetworkInterfaceASIO::now() will fix this issue in our test.

      Attachments

        Activity

          People

            matt.cotter Matt Cotter
            matt.cotter Matt Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: