summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-graph.tcp.js
diff options
context:
space:
mode:
authorBartosz Sosnowski <bartosz@janeasystems.com>2017-08-17 19:18:06 +0200
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-08-24 10:56:24 -0400
commit88b85925fee7fbd6572c77ec576300870d65f5c9 (patch)
tree31024af122917899e9383fa0f35950835ca2deb1 /test/async-hooks/test-graph.tcp.js
parentca9b3f27eb374d70757a14d6e13fbf1805ff886c (diff)
downloadandroid-node-v8-88b85925fee7fbd6572c77ec576300870d65f5c9.tar.gz
android-node-v8-88b85925fee7fbd6572c77ec576300870d65f5c9.tar.bz2
android-node-v8-88b85925fee7fbd6572c77ec576300870d65f5c9.zip
test: fix async-hooks tests
The 'test-graph.tcp' and 'test-tcpwrap' tests are using '::' as server address. This is mapped to localhost on Linux, but fails on Windows. PR-URL: https://github.com/nodejs/node/pull/14865 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'test/async-hooks/test-graph.tcp.js')
-rw-r--r--test/async-hooks/test-graph.tcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-graph.tcp.js b/test/async-hooks/test-graph.tcp.js
index 8726159907..2e0b387cbe 100644
--- a/test/async-hooks/test-graph.tcp.js
+++ b/test/async-hooks/test-graph.tcp.js
@@ -17,7 +17,7 @@ const server = net
server.listen(common.PORT);
-net.connect({ port: server.address().port, host: server.address().address },
+net.connect({ port: server.address().port, host: '::1' },
common.mustCall(onconnected));
function onlistening() {}