Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: Extend timeout due to failure on AIX
Browse files Browse the repository at this point in the history
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: #25138
  • Loading branch information
mhdawson committed May 6, 2015
1 parent 8fc40af commit fcbf226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple/test-tls-wrap-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fcbf226

Please sign in to comment.