summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2016-04-21 18:20:37 -0400
committerMichael Dawson <michael_dawson@ca.ibm.com>2016-04-25 09:09:52 -0400
commit75e073f2b2a0f5a5e002b485afd7288c9adecac6 (patch)
tree7516cee002470de5aeedbd2e87d170c1ac48ad56 /test
parentf1294f5bfd7f02bce8029818be9c92de59749137 (diff)
downloadandroid-node-v8-75e073f2b2a0f5a5e002b485afd7288c9adecac6.tar.gz
android-node-v8-75e073f2b2a0f5a5e002b485afd7288c9adecac6.tar.bz2
android-node-v8-75e073f2b2a0f5a5e002b485afd7288c9adecac6.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/common.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/common.js b/test/common.js
index 6fb357ba25..48f8ea719c 100644
--- a/test/common.js
+++ b/test/common.js
@@ -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;