test: use really invalid hostname
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Sun, 8 Nov 2015 11:01:51 +0000 (16:31 +0530)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commited32b9afe2b630a6c2ba73060ae6af6678a02209
tree0ee59b254c428ffb20fa82ef9449ab5c02242620
parente1cefda70fe27ac5771780f0491acb139594a7bb
test: use really invalid hostname

On my slow Ubuntu 14.04 machine, this fails to resolve the host name
used (`no.way.you.will.resolve.this`) and it times out in local testing.
This patch uses an invalid name (`...`) and does stricter validation of
the error returned.

PR-URL: https://github.com/nodejs/node/pull/3711
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
test/parallel/test-net-connect-immediate-finish.js