-
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
test-ttywrap.readstream does not check if a valid TTY fd is available #13984
Labels
async_hooks
Issues and PRs related to the async hooks subsystem.
test
Issues and PRs related to the tests.
tty
Issues and PRs related to the tty subsystem.
Comments
addaleax
added
async_hooks
Issues and PRs related to the async hooks subsystem.
test
Issues and PRs related to the tests.
tty
Issues and PRs related to the tty subsystem.
labels
Jun 29, 2017
I would think so, yes. |
3 tasks
Have fix at: #13991 |
trevnorris
added a commit
to trevnorris/node
that referenced
this issue
Jul 6, 2017
If TTY isn't available then the test will always fail. Also use the already available process.stdin instead of opening another ReadStream. Fixes: nodejs#13984 PR-URL: nodejs#13991
refack
pushed a commit
to refack/node
that referenced
this issue
Jul 12, 2017
Match changes made to test-ttywrap.readstream for consistency. PR-URL: nodejs#13991 Fixes: nodejs#13984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
addaleax
pushed a commit
that referenced
this issue
Jul 18, 2017
If TTY isn't available then the test will always fail. Also use the already available process.stdin instead of opening another ReadStream. PR-URL: #13991 Fixes: #13984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Fishrock123
pushed a commit
that referenced
this issue
Jul 19, 2017
If TTY isn't available then the test will always fail. Also use the already available process.stdin instead of opening another ReadStream. PR-URL: #13991 Fixes: #13984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
async_hooks
Issues and PRs related to the async hooks subsystem.
test
Issues and PRs related to the tests.
tty
Issues and PRs related to the tty subsystem.
We have a test failure that occurs on our node build bot that we can't reproduce locally, that happens in test-ttywrap.readstream.js. We get the following results:
test-ttywrap.writestream.js seems to check whether the TTY fd is available and then skip if not - does it make sense to do the same thing in the readstream test?
The text was updated successfully, but these errors were encountered: