Closed
Description
- Version:v6.2.1
- Platform:win 7 (x86 & x64)
- Subsystem:
The problem seems to be due to this change, specifically the use of server.address().address
. Changing the address back to '127.0.0.1'
makes the test pass.
From what I can work out, the address defaults to :: (the equivalent of 0.0.0.0) for IPv6 enabled machines. It seems that it never gets resolved to ::1 (localhost) on windows. The same test passes on Linux.
5 - gc/test-net-timeout
not ok 5 gc/test-net-timeout
# events.js:160
# throw er; // Unhandled 'error' event
# ˆ
#
# Error: connect EADDRNOTAVAIL :::61066
# at Object.exports._errnoException (util.js:1007:11)
# at exports._exceptionWithHostPort (util.js:1030:20)
# at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)
# We should do 500 requests