Uh oh!
There was an error while loading. Please reload this page.
test: fix flaky test-https-connect-address-family - #7605
Conversation
Trott
commented
Jul 8, 2016
Trott
commented
Jul 8, 2016
One build failure on Raspberry Pi but otherwise CI is good. |
rvagg
commented
Jul 8, 2016
nice, lgtm |
bnoordhuis
commented
Jul 8, 2016
LGTM |
@Trott would the same fix work for |
Trott
commented
Jul 8, 2016
@gibfahn Whoops, yes, I'll add that file too... |
Trott
commented
Jul 8, 2016
Added a second commit to addres test-tls-connect-address-family the same way. PTAL. |
Trott
commented
Jul 11, 2016
There was a problem hiding this comment.
Wouldn't it be better to do
addresses.some((val)=>val.address==='::1')There was a problem hiding this comment.
I thought I was going with the de facto standard in the project code as it exists, but it looks like you are correct. There are over 150 instances where the braces are already omitted and only around 20 cases where there are braces included even though they can be removed.
So, yeah, I'll remove these.
thefourtheye
commented
Jul 11, 2016
LGTM |
Skip test if localhost does not resolve to ::1. Fixes: nodejs#7288
Skip test if localhost does not resolve to ::1. Fixes: nodejs#7288
Trott
commented
Jul 11, 2016
Skip tests if localhost does not resolve to ::1. Fixes: nodejs#7288 PR-URL: nodejs#7605 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Trott
commented
Jul 11, 2016
Landed in 2d77cba |
Skip tests if localhost does not resolve to ::1. Fixes: #7288 PR-URL: #7605 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Conflicts: test/parallel/test-https-connect-address-family.js test/parallel/test-tls-connect-address-family.js
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
test https
Description of change
Skip test if localhost does not resolve to ::1.
Fixes: #7288