From dadccb77618cbaa0d1a48eca9cee3bd59b12be5c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 20 Dec 2019 06:51:42 -0800 Subject: [PATCH] test: fix common.enoughTestMem A typo introduced in 1ddcb6d2a70 causes common.enoughTestMem to always be false, resulting in a lot of tests being skipped. Fix the typo. PR-URL: https://github.com/nodejs/node/pull/31035 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: David Carlier --- test/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/index.js b/test/common/index.js index a320a1bebfefd3..e93c73820afc11 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -788,7 +788,7 @@ module.exports = { return Array.isArray(cpus) && (cpus.length > 1 || cpus[0].speed > 999); }, - get enoughTestMeme() { + get enoughTestMem() { return require('os').totalmem() > 0x70000000; /* 1.75 Gb */ },