Repository navigation
test: use countdown in test file - #17874
sreepurnajasti wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
It is better to add a mustCall for these two lines. For example:
new Countdown(total, common.mustCall(() => server.close()));c812e06 to
caa9d25
Compare
|
If this commit is landed as it is, it will close the referenced issue (which I don't think is correct). |
There was a problem hiding this comment.
Could you update this const to be camelCase please?
There was a problem hiding this comment.
I could be wrong but I don't think we strictly need two separate countdowns in this test? We could just use the responseCountdown and have the server.close() be inside it.
lpinca
left a comment
There was a problem hiding this comment.
LGTM with @apapirovski's comments addressed.
caa9d25 to
7109991
Compare
Fixes: #17169 PR-URL: #17874 Fixes: #17169 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
Landed in 166a2ce. Thanks for your contribution! π₯ |
Fixes: #17169 PR-URL: #17874 Fixes: #17169 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Fixes: #17169 PR-URL: #17874 Fixes: #17169 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Fixes: #17169 PR-URL: #17874 Fixes: #17169 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Fixes: #17169 PR-URL: #17874 Fixes: #17169 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Fixes: #17169
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)