-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... node.js engineer
I want... integration tests that assert all related esources have been cleaned up after client.close() is called
So that... i know the new client.close has the correct behavior
Acceptance Criteria
Implementation Requirements
- Determine which tests cases are needed for integration testing client.close() resource clean-up
- Run each test casewith the following structure:
- Node-js Resource Test Structure
- Run subprocess
- Create and assert resources creation through client
- Close the client
- Assert no new resources remain through process.report.getReport().libuv and node.js beforeExit event
- Server-side Resource Test Structure
- Run subprocess
- Create and assert resources exist on the server
- Close the client
- Assert no new resources remain through commands to the server
- Node-js Resource Test Structure
Documentation Requirements
- N/A
Follow Up Requirements
- There may be additional integration tests cases as implementation uncovers more information
- Unskip tests once updated client.close is implemented
1.
|
Align Client.Close Test Cases with Finalized Design | NODE-6624 | Ready for Work | Unassigned | ||
2.
|
Add integration server-side resource test implemention for improved client.close() | NODE-6626 | In Code Review | Aditi Khare |