-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: Update test-http-response-status-message to use countdown timer #17326
Conversation
57f3420
to
3e476cc
Compare
If I'm not mistaken, this and the other should be "Refs" for that issue and not "Fixes". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @daxlab — thanks for taking this on! This is a good start but right now this test is still not using Countdown to its full potential. Instead of passing around testCaseIndex
, we could just use testCases.length - countdown.remaining
for the index and the check for runTest
could be countdown.remaining > 0
.
Let me know if you have any questions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but it would be good to get the suggestion from @apapirovski in as well.
ping @daxlab |
PR-URL: nodejs#17326 Refs: nodejs#17169 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in 7d2b08a |
PR-URL: nodejs#17326 Refs: nodejs#17169 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Refs: #17169
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)