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>
This commit is contained in:
parent
fe8297ca92
commit
53f4ac2774
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user