test: fix flaky test-https-client-get-url#12876
test: fix flaky test-https-client-get-url#12876sebastianplesciuc wants to merge 1 commit intonodejs:masterfrom sebastianplesciuc:fix-flaky-test-https-get-url
Conversation
|
@sebastianplesciuc definatly better. |
|
@sebastianplesciuc I changed the "Ref" -> "Fixes" in the first comment You can change it in the commit message, so when this lands, the issue will be closed automatically. |
jasnell
left a comment
There was a problem hiding this comment.
LGTM if the stress test results look good
|
I think it's still waiting on a stuck job from earlier today...? |
|
@refack Changed the |
|
Stress looks solid. |
|
CI (macOS only): https://ci.nodejs.org/job/node-test-commit-osx/9624/ |
|
@refack Like the CI tells you to, could you please avoid running stress-tests on all platforms unless that’s really necessary? |
There was a problem hiding this comment.
Can you add common.mustCall() here.
There was a problem hiding this comment.
Nit: Instead of 127.0.0.1, you can use common.localhostIPv4
Fixed test-https-client-get-url by waiting on HTTPS GET requests to finish before closing the server. Fixes: #12873
Fixed test-https-client-get-url by waiting on HTTPS GET requests to finish before closing the server. PR-URL: nodejs#12876 Fixes: nodejs#12873 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
|
Landed in 317180f |
|
Post land CI:https://ci.nodejs.org/job/node-test-commit/9785/ |
Fixed test-https-client-get-url by waiting on HTTPS GET requests to finish before closing the server. PR-URL: nodejs#12876 Fixes: nodejs#12873 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
|
This does not land cleanly in LTS. Please feel free to manually backport. Please also feel free to replace the backport request label with do-not-land if it shouldn't land |
|
@MylesBorins This can't be backported. The test flaked because of multiple Docs also seem to confirm this, URL in Node 6 LTS vs URL in Node 8. Please correct me if I'm wrong and also please set the proper labels because I can't :) |
|
Thanks @sebastianplesciuc updated labels |
Fixes test-https-client-get-url by waiting on HTTPS GET
requests to finish before closing the server.
Fixes: #12873
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test