Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-10-22 05:40:06 +0300
committerMyles Borins <mylesborins@google.com>2017-10-24 00:35:49 +0300
commit3c41f3f0e35ef0a61bb9e9ad30bbc6bf0d0658f8 (patch)
tree32e7d0f5de8b6c805285454257eebdf5073f9a0f /test
parent0d5ee95e36bf09a2f83684785a11265bcb178267 (diff)
test: increase enoughTestMem to 1.75 Gb
PR-URL: https://github.com/nodejs/node/pull/16374 Fixes: https://github.com/nodejs/node/issues/16354 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/common/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 9a9352bbb2f..b123b338448 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -53,7 +53,7 @@ exports.isFreeBSD = process.platform === 'freebsd';
exports.isLinux = process.platform === 'linux';
exports.isOSX = process.platform === 'darwin';
-exports.enoughTestMem = os.totalmem() > 0x40000000; /* 1 Gb */
+exports.enoughTestMem = os.totalmem() > 0x70000000; /* 1.75 Gb */
const cpus = os.cpus();
exports.enoughTestCpu = Array.isArray(cpus) &&
(cpus.length > 1 || cpus[0].speed > 999);