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

Use same clock for test and working code in session_test [v4.0]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.0.15
    • 4.0.16
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-01-27, Repl 2020-02-10
    • 0

    Description

      This was fixed in 4.2 by SERVER-36697, but that would be difficult to backport (and would affect more than just test code). Instead, in 4.0, we can use the real precision clock source instead of Date_t::now() for comparison purposes.

      Attachments

        Issue Links

          Activity

            People

              matthew.russotto@mongodb.com Matthew Russotto
              matthew.russotto@mongodb.com Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: