Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: stream.finished detects a destroyed IncomingMessage #38661

Closed

Conversation

Linkgoron
Copy link
Member

Add a test to verify that stream.finished works correctly on IncomingMessage, as it looks like it didn't work on Node 15, but now works on Node 16.

The test that I added does not pass on Node 15, but passes on Node 16.

refs: #38657

Add a test to verify that stream.finished works correctly
on IncomingMessage

refs: nodejs#38657
@github-actions github-actions bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 12, 2021
@nodejs-github-bot
Copy link
Collaborator

test/parallel/test-stream-finished.js Outdated Show resolved Hide resolved
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented May 13, 2021

@Linkgoron Linkgoron added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 13, 2021
@jasnell
Copy link
Member

jasnell commented May 17, 2021

Landed in cbe0f09

@jasnell jasnell closed this May 17, 2021
jasnell pushed a commit that referenced this pull request May 17, 2021
Add a test to verify that stream.finished works correctly
on IncomingMessage

refs: #38657

PR-URL: #38661
Refs: #38657
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
targos pushed a commit that referenced this pull request May 18, 2021
Add a test to verify that stream.finished works correctly
on IncomingMessage

refs: #38657

PR-URL: #38661
Refs: #38657
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants