{{ message }}
test: use common.mustCall in http test#17439
Closed
mithunsasidharan wants to merge 1 commit into
Closed
Conversation
daxlab
approved these changes
Dec 3, 2017
apapirovski
reviewed
Dec 3, 2017
apapirovski
left a comment
Contributor
There was a problem hiding this comment.
This test should instead be refactored to use common.mustCall for the response function passed to http.createServer. The nrequests_completed and nrequests_expected variables should still be removed. The server.close() can just be unconditional.
Contributor
Author
apapirovski
approved these changes
Dec 3, 2017
apapirovski
left a comment
Contributor
There was a problem hiding this comment.
LGTM but the commit message & PR title should be updated
Contributor
test-http-malformed-request to use countdowntest-http-malformed-request to use common#mustCall
test-http-malformed-request to use common#mustCalltest-http-malformed-request to use common.mustCall
Contributor
Author
|
@apapirovski : Thats's done too.. Thanks. |
maclover7
approved these changes
Dec 3, 2017
Contributor
|
The commit message is still too long. Something like |
test-http-malformed-request to use common.mustCall
Contributor
Author
|
@apapirovski : Thanks for the feedback. I've updated the commit message. Kindly review the PR now. |
tniessen
approved these changes
Dec 3, 2017
lpinca
approved these changes
Dec 4, 2017
jasnell
approved these changes
Dec 5, 2017
Contributor
|
Landing... |
Contributor
MylesBorins
pushed a commit
that referenced
this pull request
Dec 12, 2017
PR-URL: #17439 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
Dec 12, 2017
PR-URL: #17439 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
gibfahn
pushed a commit
that referenced
this pull request
Dec 20, 2017
PR-URL: #17439 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
gibfahn
pushed a commit
that referenced
this pull request
Dec 20, 2017
PR-URL: #17439 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Closed
gibfahn
pushed a commit
that referenced
this pull request
Dec 20, 2017
PR-URL: #17439 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Refactored the test case in
test-http-malformed-requestto usecommon.mustCall, as per issue #17169Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test