Skip to content

test: async iterate destroyed stream - #28995

Closed
ronag wants to merge 1 commit into
nodejs:masterfrom
nxtedition:stream-async-iterator-destroyed
Closed

test: async iterate destroyed stream#28995
ronag wants to merge 1 commit into
nodejs:masterfrom
nxtedition:stream-async-iterator-destroyed

Conversation

@ronag

@ronagronag commented Aug 6, 2019

Copy link
Copy Markdown
Member

Currently we will deadlock on destroyed streams...

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@ronag

ronag commented Aug 6, 2019

Copy link
Copy Markdown
MemberAuthor

@mcollina: Should this maybe result in a ERR_STREAM_DESTROYED?

@ronagronag mentioned this pull request Aug 6, 2019
2 tasks
@mcollina

Copy link
Copy Markdown
Member

Would you mind adding a unit test?

@mcollinamcollina added lts-watch-v10.x stream Issues and PRs related to the stream subsystem. labels Aug 6, 2019
@ronagronag mentioned this pull request Aug 6, 2019
7 tasks
@ronag

ronag commented Aug 6, 2019

Copy link
Copy Markdown
MemberAuthor

This would be fixed by and is blocked by #28748

@ronag

ronag commented Aug 6, 2019

Copy link
Copy Markdown
MemberAuthor

Added test.

@ronag
ronagforce-pushed the stream-async-iterator-destroyed branch 3 times, most recently from 4a18e90 to 39594eeCompareAugust 6, 2019 11:04
@trivikr

Copy link
Copy Markdown
Member

Should subsystem be test instead of stream?

@ronag

ronag commented Aug 6, 2019

Copy link
Copy Markdown
MemberAuthor

@trivikr: Let's see what happens with #28748. If it is merged and fixes this issue, then yes, it should be test.

@ronag

Copy link
Copy Markdown
MemberAuthor

@Trott: blocked label?

@TrottTrott added the blocked PRs that are blocked by other issues or PRs. label Aug 24, 2019
@ronagronag changed the title stream: async iterate destroyed streamtest: async iterate destroyed streamSep 23, 2019
@ronag
ronagforce-pushed the stream-async-iterator-destroyed branch from 39594ee to 029fe89CompareSeptember 23, 2019 07:39
@ronag

ronag commented Sep 23, 2019

Copy link
Copy Markdown
MemberAuthor

renamed into "test" scope

@ronag
ronagforce-pushed the stream-async-iterator-destroyed branch 3 times, most recently from bed5ced to 0d6ba10CompareSeptember 24, 2019 21:06
@ronag
ronagforce-pushed the stream-async-iterator-destroyed branch from 0d6ba10 to 87c5750CompareSeptember 24, 2019 21:06
@ronag

Copy link
Copy Markdown
MemberAuthor

@Trott: this is no longer blocked

@trivikrtrivikr removed the blocked PRs that are blocked by other issues or PRs. label Sep 26, 2019
@ronag

Copy link
Copy Markdown
MemberAuthor

@Trott: This is blocked again (#29724) since the fix was reverted.

@TrottTrott added the blocked PRs that are blocked by other issues or PRs. label Nov 12, 2019
@ronagronag added dont-land-on-v10.x author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed blocked PRs that are blocked by other issues or PRs. lts-watch-v10.x labels Feb 14, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

ronag added a commit that referenced this pull request Feb 14, 2020
PR-URL: #28995
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@ronag

Copy link
Copy Markdown
MemberAuthor

Landed in df1592d

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@ronag@mcollina@trivikr@nodejs-github-bot@jasnell@addaleax@Trott@BridgeAR