-
Notifications
You must be signed in to change notification settings - Fork 30k
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, test: Add test for _writableState state machine #8686
Comments
@mcollina @Fishrock123 I'd love to take a shot at this as a first contribution. Who would be the main point of contact in regards to questions/comments/etc? |
You can target @nodejs/stream, or myself. |
@corykitchens I already have 3/4 PR open, the only available is the |
@italoacasas unfortunately @nodejs/streams or myself was not tagged, and github do not send notification of open PR referencing an issue, sigh. I'll get them reviewed asap. |
@italoacasas Yes sounds good, I'll work on whatever needs to get done. |
@italoacasas Can you please just use |
@corykitchens it's at to you, just let me know. @mcollina I'll make the change tonight, thanks for the feedback. |
@italoacasas can you please add something in your tests, they all look the same for those variables, but they are not. I would really like to see a tests where those variables are different. |
@mcollina I think I understand what you mean, I'm going to refactor the tests. Thanks for the feedback. |
@italoacasas you are welcome! Let me know if you need any help, I will leave the PR non-merged atm waiting for another one. |
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #8778 Ref: #8686 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add a test for _writableState.finished. PR-URL: #8791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.ending, when ending becomes true, but the stream is not finished/ended yet. PR-URL: #8707 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.needDrain. PR-URL: #8799 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Related: #8686
Thanks @italoacasas for your help!!! |
Add a test for _writableState.finished. PR-URL: #8791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.ending, when ending becomes true, but the stream is not finished/ended yet. PR-URL: #8707 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.needDrain. PR-URL: #8799 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Related: #8686
Add a test for _writableState.finished. PR-URL: #8791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.ending, when ending becomes true, but the stream is not finished/ended yet. PR-URL: #8707 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.finished. PR-URL: #8791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.ending, when ending becomes true, but the stream is not finished/ended yet. PR-URL: #8707 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.needDrain. PR-URL: #8799 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Related: #8686
Add a test for _writableState.needDrain. PR-URL: #8799 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Related: #8686
Add a test for _writableState.finished. PR-URL: #8791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.ending, when ending becomes true, but the stream is not finished/ended yet. PR-URL: #8707 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Related: #8686
Add a test for _writableState.needDrain. PR-URL: #8799 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Related: #8686
Part of #8644
node/lib/_stream_writable.js
Lines 46 to 52 in 774146d
cc @Fishrock123 @nodejs/streams
The text was updated successfully, but these errors were encountered: