Skip to content

Commit

Permalink
test: increase the platform timeout for AIX
Browse files Browse the repository at this point in the history
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: #6342
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
mhdawson authored and Myles Borins committed May 18, 2016
1 parent fb44f5c commit 5550cff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ exports.platformTimeout = function(ms) {
if (process.config.target_defaults.default_configuration === 'Debug')
ms = 2 * ms;

if (exports.isAix)
return 2 * ms; // default localhost speed is slower on AIX

if (process.arch !== 'arm')
return ms;

Expand Down

0 comments on commit 5550cff

Please sign in to comment.