Skip to content

Commit 20f68c2

Browse files
mhdawsonjoelostrowski
authored andcommitted
test: increase the platform timeout for AIX
There have been failures on AIX due to the slower default loopback performance. So far I've resisted updating the global timeout but seeing another new failure in a newly added test I now think the right thing is to just extend the platform timeout for AIX. This commit does that. PR-URL: nodejs#6342 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 29d94c0 commit 20f68c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/common.js

+3
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ exports.platformTimeout = function(ms) {
245245
if (process.config.target_defaults.default_configuration === 'Debug')
246246
ms = 2 * ms;
247247

248+
if (exports.isAix)
249+
return 2 * ms; // default localhost speed is slower on AIX
250+
248251
if (process.arch !== 'arm')
249252
return ms;
250253

0 commit comments

Comments
 (0)