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: refactor test-fs-empty-readStream #4490

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Dec 30, 2015

Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.
Ref: #4476 (comment)

Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.
Ref: nodejs#4476 (comment)
@Trott Trott added fs Issues and PRs related to the fs subsystem / file system. test Issues and PRs related to the tests. labels Dec 30, 2015
@Trott
Copy link
Member Author

Trott commented Dec 30, 2015

@cjihrig
Copy link
Contributor

cjihrig commented Dec 30, 2015

LGTM if the CI is happy.

@Trott
Copy link
Member Author

Trott commented Dec 30, 2015

Unrelated semi-known* flaky test failure on FreeBSD and a brand new unrelated test failure on SmartOS, but other than that, CI looks good. The modified test is passing everywhere.

  • "semi-known" because it's not marked as flaky but @santigimeno has come across this issue on their own and has a fix pending in a PR. I think we're just sorting out the test at this point.

@jbergstroem
Copy link
Member

@Trott perhaps rebase this in a new branch on top of #4476 and give it a go in CI?

@Trott
Copy link
Member Author

Trott commented Dec 31, 2015

@Trott
Copy link
Member Author

Trott commented Dec 31, 2015

@jbergstroem Still lots of failures in the parallelizing WIP stuff (no surprise there) but not this test, so hooray I guess.

@jbergstroem
Copy link
Member

@Trott another one bites the dust. LGTM

Trott added a commit to Trott/io.js that referenced this pull request Jan 2, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: nodejs#4476 (comment)
PR-URL: nodejs#4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@Trott
Copy link
Member Author

Trott commented Jan 2, 2016

Landed in 44ed999

@Trott Trott closed this Jan 2, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: nodejs#4476 (comment)
PR-URL: nodejs#4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 13, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: #4476 (comment)
PR-URL: #4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 14, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: #4476 (comment)
PR-URL: #4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: #4476 (comment)
PR-URL: #4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Refactor test to remove unnecessary booleans and one unnecesary timer.
Instead, throw Error objects where appropriate and rely on
common.mustCall().

The timer seemed to be the source of an issue when parallelizing tests.

Ref: nodejs#4476 (comment)
PR-URL: nodejs#4490
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@Trott Trott deleted the readstream-assert-message branch January 13, 2022 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs Issues and PRs related to the fs subsystem / file system. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants