Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2684

use mock timers to deterministically test interruptable async timer

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: None
    • None

      Since the introduction of the makeInterruptableAsyncTimer method in v3.5.9, we have had flaky test runs on osx because timing differs between OSX and Linux. Sinon provides us a way to mock timers, so we should use that to make these test runs deterministic across platforms.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: