Skip to content

test: refactor test-fs-empty-readStream - #4490

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:readstream-assert-message
Closed

test: refactor test-fs-empty-readStream#4490
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:readstream-assert-message

Conversation

@Trott

Copy link
Copy Markdown
Member

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)
@TrottTrott 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
Copy Markdown
MemberAuthor

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM if the CI is happy.

@Trott

Copy link
Copy Markdown
MemberAuthor

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
Copy Markdown
Member

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

@Trott

Copy link
Copy Markdown
MemberAuthor

@Trott

Copy link
Copy Markdown
MemberAuthor

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

@jbergstroem

Copy link
Copy Markdown
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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott

Trott commented Jan 2, 2016

Copy link
Copy Markdown
MemberAuthor

Landed in 44ed999

@TrottTrott 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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@MylesBorinsMylesBorins 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 <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@Trott
Trott deleted the readstream-assert-message branch January 13, 2022 22:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fsIssues and PRs related to the fs subsystem / file system.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Trott@cjihrig@jbergstroem@jasnell@MylesBorins