Skip to content

test: updated test-stream-pipe-unpipe-stream - #10100

Closed
rajapanidepu wants to merge 1 commit into
nodejs:masterfrom
rajapanidepu:rpanidepu/unpipe_test
Closed

test: updated test-stream-pipe-unpipe-stream#10100
rajapanidepu wants to merge 1 commit into
nodejs:masterfrom
rajapanidepu:rpanidepu/unpipe_test

Conversation

@rajapanidepu

Copy link
Copy Markdown
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 2, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use common.fail instead of assert.fail.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it needs to include a message?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't, but others probably do. In that case, you'd have to do something like:

()=>{common.fail('your message here');}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated PR, not using message as it looks obvious in the code and most of the common.fail aren't using message.

test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream

@cjihrigcjihrig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but cc @nodejs/streams

@mscdexmscdex added the stream Issues and PRs related to the stream subsystem. label Dec 3, 2016

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcollina

Copy link
Copy Markdown
Member

@mcollina

Copy link
Copy Markdown
Member

Merging now.

@mcollina

Copy link
Copy Markdown
Member

Merged as acb44d0

@mcollinamcollina closed this Dec 5, 2016
mcollina pushed a commit that referenced this pull request Dec 5, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: #10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Fishrock123 pushed a commit that referenced this pull request Dec 5, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: #10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@Fishrock123Fishrock123 mentioned this pull request Dec 5, 2016
2 tasks
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: nodejs#10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: nodejs#10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: #10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: #10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
test readableStream.unpipe(dest) is no operation when dest is
not a destination for readable stream.
PR-URL: #10100
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This was referenced Dec 21, 2016
@TrottTrott mentioned this pull request Dec 22, 2016
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streamIssues and PRs related to the stream subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@rajapanidepu@mcollina@cjihrig@mscdex@MylesBorins@addaleax@nodejs-github-bot