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

stream: fix broken pipeline test #33030

Closed
wants to merge 1 commit into from
Closed

Conversation

ronag
Copy link
Member

@ronag ronag commented Apr 23, 2020

An unfortunate overlap between two PR that by themselves pass
CI but together fail a test.

#32967 changes so that pipeline does not wait for 'close' on Duplex streams when only interested in one side.

#32968 changed so that all streams are not destroyed.

Which together made one test fail which expected the stream to be
destroyed before pipeline callback.

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

An unfortunate overlap between two PR that by themselves pass
CI but together pass a test.

nodejs#32967 changes so that
pipeline does not wait for 'close'.

nodejs#32968 changed so that
all streams are not destroyed.

Which made one test fail when expected the stream to be
destroyed during pipeline callback.
@ronag ronag added the stream Issues and PRs related to the stream subsystem. label Apr 23, 2020
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Apr 23, 2020
@nodejs-github-bot
Copy link
Collaborator

@ronag ronag requested a review from jasnell April 23, 2020 19:42
@ronag
Copy link
Member Author

ronag commented Apr 23, 2020

@nodejs/streams

@ronag
Copy link
Member Author

ronag commented Apr 23, 2020

fast track?

@jasnell jasnell requested a review from mcollina April 23, 2020 19:42
@jasnell
Copy link
Member

jasnell commented Apr 23, 2020

CI is broken right now without this change so assuming it's the right change to make, we should fast-track this.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Apr 23, 2020

@ronag
Copy link
Member Author

ronag commented Apr 23, 2020

I think this PR can land given fast track. However, as I'm unsure I would like to request that a more experienced collaborator lands this as fast tracked.

@BridgeAR
Copy link
Member

@ronag it needs one more +1 to fast track it (it requires 2).

@jasnell
Copy link
Member

jasnell commented Apr 23, 2020

@BridgeAR .. my comment here should be considered a +1 on fast track

@BridgeAR BridgeAR added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. labels Apr 23, 2020
BridgeAR pushed a commit that referenced this pull request Apr 23, 2020
An unfortunate overlap between two PR that by themselves pass
CI but together pass a test.

#32967 changes so that
pipeline does not wait for 'close'.

#32968 changed so that
all streams are not destroyed.

Which made one test fail when expected the stream to be
destroyed during pipeline callback.

PR-URL: #33030
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@BridgeAR
Copy link
Member

Landed in 3140fdc 🎉

@BridgeAR BridgeAR closed this Apr 23, 2020
BethGriggs pushed a commit that referenced this pull request Apr 27, 2020
An unfortunate overlap between two PR that by themselves pass
CI but together pass a test.

#32967 changes so that
pipeline does not wait for 'close'.

#32968 changed so that
all streams are not destroyed.

Which made one test fail when expected the stream to be
destroyed during pipeline callback.

PR-URL: #33030
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@BethGriggs BethGriggs mentioned this pull request Apr 27, 2020
@BridgeAR
Copy link
Member

Should this be backported to v12? It does rely upon other commits that would have to be backported first.

@targos
Copy link
Member

targos commented Apr 28, 2020

@BridgeAR don't try to update v12, I have a wip branch that I will push to staging after the release of 12.16.3 today

@BridgeAR
Copy link
Member

@targos I did not plan on doing that, I just wanted to add the label, if applicable.

BethGriggs pushed a commit that referenced this pull request Apr 28, 2020
An unfortunate overlap between two PR that by themselves pass
CI but together pass a test.

#32967 changes so that
pipeline does not wait for 'close'.

#32968 changed so that
all streams are not destroyed.

Which made one test fail when expected the stream to be
destroyed during pipeline callback.

PR-URL: #33030
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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. fast-track PRs that do not need to wait for 48 hours to land. stream Issues and PRs related to the stream subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants