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

Add sleep to TimeInactiveMicrosShouldBeSetUponUnstashAndStash in session_test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.16
    • 4.0.15
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-01-27
    • 0

    Description

      This test works by using a real clock and expecting it to advance after setting a transaction inactive. However on some platforms, it is possible for the clock to not advance at least one time quantum before checking the timer, so it fails. In master and 4.2 this is fixed using an injectable ticksource. This isn't available in 4.0, so we need to add a sleep.

      Attachments

        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: