Add Integration tests for sockets + timers for improved client.close()

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Aditi Khare (Inactive)
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: