-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: 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