• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.13.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Not Needed

      Use Case

      As a... node.js driver engineer
      I want... to ensure that client.close() cleans up all relevant node.js resources within a process
      So that... I know the driver accurately performs clean-up for timers and sockets

      Acceptance Criteria

      Implementation Requirements

      • For each timer and socket node.js resource
        • Run a child process
        • Create the resource
        • Assert the resource has been created through sinon or libuv report
        • Close the client
        • Assert no new resources remain through the following:
          • libuv report
          • beforeExit JS event
        • Close the process
      • See table in the design doc for further explanation on 'relevant resources'

      Follow Up Requirements

      • Align integration tests with new tests cases that arise as the design finalizes

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

              Created:
              Updated:
              Resolved: