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

Investigate NODE-4444 - Clear timers from Node.JS module

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Done
    • None
    • Not Applicable
    • None
    • Not Needed

    Description

      NODE-4444 Description
      Timers are now explicitly imported from the Node.js `timers` module as of https://github.com/mongodb/node-mongodb-native/pull/3275 (done as part of this ticket: https://jira.mongodb.org/browse/NODE-4281)

      However, that change only enforced importingĀ setting timers, notĀ clearing timers, which could also diverge (and indeed I think this potentially causes confusing downstream behaviour when combined with eg sinon Fake Timers).

      We should also require the corresponding timer clearing methods are imported from the Node.js module for consistency.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbeng-pm-bot PM Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: