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 jasnell committed Apr 26, 2016
1 parent 7cbd9fe commit 0ed85e3
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 @@ -245,6 +245,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 0ed85e3

Please sign in to comment.