Browse Source

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: https://github.com/nodejs/node/pull/6342
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
process-exit-stdio-flushing
Michael Dawson 9 years ago
parent
commit
75e073f2b2
  1. 3
      test/common.js

3
test/common.js

@ -245,6 +245,9 @@ exports.platformTimeout = function(ms) {
if (process.config.target_defaults.default_configuration === 'Debug') if (process.config.target_defaults.default_configuration === 'Debug')
ms = 2 * ms; ms = 2 * ms;
if (exports.isAix)
return 2 * ms; // default localhost speed is slower on AIX
if (process.arch !== 'arm') if (process.arch !== 'arm')
return ms; return ms;

Loading…
Cancel
Save