Uh oh!
There was an error while loading. Please reload this page.
test: update setTimeout on file test/internet/test-net-connect-unref.js to use common.platformTimeout - #21969
test: update setTimeout on file test/internet/test-net-connect-unref.js to use common.platformTimeout#21969conectado wants to merge 3 commits into
Conversation
Trott
commented
Jul 25, 2018
Even better IMO would be to remove the |
Trott
commented
Jul 25, 2018
Also: Welcome @conectado! Thanks for the pull request! |
@Trott First and foremost thanks for the feedback! I've started reading the Edit: I've continued reading that file, and found out that on line 1440 all arguments are converted to |
Changes the time used by the last line of the file to normalize the timeout by using the common library.
Removes the setTimeout since if the test were to fail it would time out due to the tools/test.py wrapper
Trott
commented
Jul 25, 2018
conectado
commented
Jul 25, 2018
I updated the PR, since the constant |
Trott
commented
Jul 26, 2018
Trott
commented
Jul 26, 2018
👍 here to fast-track. |
Trott
commented
Jul 26, 2018
Landed in 586a7a4. Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
richardlau
commented
Jul 26, 2018
Removes the setTimeout since if the test were to fail it would time out due to the tools/test.py wrapper PR-URL: nodejs#21969 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@richardlau Ugh, I forgot to push it. It's pushed now. (Thanks!) |
Trott
commented
Jul 26, 2018
Landed in 586a7a4. |
conectado
commented
Jul 27, 2018
Thanks everyone!! |
Removes the setTimeout since if the test were to fail it would time out due to the tools/test.py wrapper PR-URL: #21969 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Hi!
This is my first PR 😄 I'm sorry if I make any mistake.
This commit updates the time used on the
timeOutfunction to confonform to the recomendation given by the guide on writing tests.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes