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

Investigate fixing node v16 tls unit test issue when running upgraded sinon

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.0.0
    • Affects Version/s: None
    • Component/s: None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Description

      When sinon is upgraded, a few tls options timer tests start failing only on node v16. We want to upgrade sinon, as well as fix the failing tests in this ticket.

      Unknowns

      • is it Node's custom fake timers implementation v. sinon.createSandbox usage that is causing an issue?

      Acceptance Criteria

      Implementation Requirements

      • sinon                              ^15.2.0  →  ^17.0.1
      • @types/sinon                      ^10.0.20  →  ^17.0.3
      • fix failing unit tests with sinon enabled

      Testing Requirements

      • all tests pass

            Assignee:
            Unassigned Unassigned
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: