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

Commit fcbf226

Browse files
committed
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: #25138
1 parent 8fc40af commit fcbf226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simple/test-tls-wrap-timeout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var server = tls.createServer(options, function(c) {
4444

4545
server.listen(common.PORT, function() {
4646
var socket = net.connect(common.PORT, function() {
47-
socket.setTimeout(120, assert.fail);
47+
socket.setTimeout(500, assert.fail);
4848

4949
var tsocket = tls.connect({
5050
socket: socket,

0 commit comments

Comments
 (0)