Uh oh!
There was an error while loading. Please reload this page.
test: Use countdown in test file - #17646
Conversation
There was a problem hiding this comment.
@sreepurnajasti do you know why this is needed? Isn't the server.close() above sufficient?
There was a problem hiding this comment.
@lpinca Thanks for the review. This block is used to close the server instead of hanging. However, conditional check may not be required. If it is also, its fine. So, let me know whether to make any changes!!
There was a problem hiding this comment.
The whole client.on('close') block should be removed. Since there's now no process.on('exit') check, we should let the test timeout if this isn't working correctly which would then signal that the test is broken.
There was a problem hiding this comment.
@lpinca@apapirovski Updated. Please review.
There was a problem hiding this comment.
The whole client.on('close') block should be removed. Since there's now no process.on('exit') check, we should let the test timeout if this isn't working correctly which would then signal that the test is broken.
52a4058 to
2879207Compareapapirovski
commented
Dec 17, 2017
gireeshpunathil
commented
Dec 18, 2017
Landed as 0a28f94 |
Fixes: nodejs/node#17169 PR-URL: nodejs/node#17646 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Fixes: #17169
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)