Skip to content

Commit 50acf72

Browse files
TrottMylesBorins
authored andcommitted
test: increase RAM requirement for intensive tests
test-fs-read-buffer-tostring-fail and test-fs-readfile-tostring-fail have been timing out on Raspberry Pi 3 devices on the continuous integration server. These devices have 1 Gb of RAM and the tests are memory intensive. Previous checks for memory intensive tests used a 512 Mb cut-off, but that was probably instituted when we only had Pi 1 devices. Consequently, this change increases the threshold for memory-intensive tests to 1 Gb and adds that threshold to test-fs-readfile-tostring-fail. PR-URL: #7772 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 41e27f6 commit 50acf72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.isLinuxPPCBE = (process.platform === 'linux') &&
2626
exports.isSunOS = process.platform === 'sunos';
2727
exports.isFreeBSD = process.platform === 'freebsd';
2828

29-
exports.enoughTestMem = os.totalmem() > 0x20000000; /* 512MB */
29+
exports.enoughTestMem = os.totalmem() > 0x40000000; /* 1 Gb */
3030
exports.rootDir = exports.isWindows ? 'c:\\' : '/';
3131

3232
function rimrafSync(p) {

0 commit comments

Comments
 (0)