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]

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.16
    • Affects Version/s: 4.0.15
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-01-27, Repl 2020-02-10
    • 0

      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.

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

              Created:
              Updated:
              Resolved: