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

Add sleep to TimeInactiveMicrosShouldBeSetUponUnstashAndStash in session_test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.15
    • Fix Version/s: 4.0.16
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2020-01-27
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: