Skip to content

Commit

Permalink
test: increase enoughTestMem to 1.75 Gb
Browse files Browse the repository at this point in the history
PR-URL: #16374
Fixes: #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>
  • Loading branch information
Trott authored and MylesBorins committed Nov 28, 2017
1 parent 9c229b4 commit 62dd6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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) &&
Expand Down

0 comments on commit 62dd6a2

Please sign in to comment.