From e68d86c195a1ddda70898b0e30d87034c88b2c7e 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 d774bffe0fadb5..dd299277596ff9 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -767,7 +767,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 */ },