Please sign in to comment.
test: improve test-async-hooks-http-parser-destroy
Improve asserts to distinguish between reequest and response parsers. Change the assert sequence to first assert on the number of ids to easier identify if some operation is missing/incomplete. Destroy HTTP agent once expected number of events have been seen to avoid waiting on socket timeouts. Refs: #28112 PR-URL: #28253 Reviewed-By: James M Snell <email@example.com> Reviewed-By: Daijiro Wachi <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: Ruben Bridgewater <email@example.com>
- Loading branch information...
Showing with 34 additions and 13 deletions.