Skip to content

test: Avoid usage of mixed IPV6 addresses

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test, cluster

Description of change

Please see #7563 for full details.

The test case test/parallel/test-cluster-disconnect-handles.js fails in AIX due to the mixed-use of unspecified and loopback addresses. This is not a problem in most platforms but fails in AIX. (In Windows too, but does not manifest as the test is omitted in Windows for a different reason).

There exists no documented evidence which supports the mixed use of unspecified and loopback addresses.

While AIX strictly follows the IPV6 specification with respect to unspecified address ('::') and loopback address ('::1'), the test case latches on to the behavior exhibited by other platforms, and hence it fails in AIX.

The proposed fix is to make it work in all platforms including AIX by using the loopback address for the client to connect, as that is the address at which the server listens.

Merge request reports

Loading