Skip to content

win: gc/test-net-timeout.js failure in v6.2.1 #7291

Description

@gibfahn
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    netIssues and PRs related to the net subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions