diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2015-05-06 12:01:34 -0400 |
---|---|---|
committer | Michael Dawson <Michael_Dawson@ca.ibm.com> | 2015-05-06 12:40:30 -0700 |
commit | fcbf226a944ab89400bfbc336b4ee4d28852189b (patch) | |
tree | 17c7e24f3e5a9f8bd9564436085e9307e539fbd3 | |
parent | 8fc40af034f5b526f0d7e421401786e11a2c50cf (diff) | |
download | node-fcbf226a944ab89400bfbc336b4ee4d28852189b.tar.gz |
test: Extend timeout due to failure on AIX
The loopback on AIX is slower by default than on other platforms
and we've seen a number of tests fail on AIX for this reason. This
looks to be another instance. Changing the test to bind to the
host ip instead of the loopback makes it pass reliably.
This change extends the timeout so that it passes reliably on AIX
even with the slower loopback behaviour
modified: test/simple/test-tls-wrap-timeout.js
Reviewed-By: coln Ihrig <cjihrig@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25138
-rw-r--r-- | test/simple/test-tls-wrap-timeout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-tls-wrap-timeout.js b/test/simple/test-tls-wrap-timeout.js index 580d76fd8..cff8b797f 100644 --- a/test/simple/test-tls-wrap-timeout.js +++ b/test/simple/test-tls-wrap-timeout.js @@ -44,7 +44,7 @@ var server = tls.createServer(options, function(c) { server.listen(common.PORT, function() { var socket = net.connect(common.PORT, function() { - socket.setTimeout(120, assert.fail); + socket.setTimeout(500, assert.fail); var tsocket = tls.connect({ socket: socket, |