Skip to content
Permalink
Browse files

test: fix common.enoughTestMem

A typo introduced in 1ddcb6d causes common.enoughTestMem to always
be false, resulting in a lot of tests being skipped. Fix the typo.

PR-URL: #31035
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
  • Loading branch information
Trott authored and BridgeAR committed Dec 20, 2019
1 parent 21ef3d6 commit dadccb77618cbaa0d1a48eca9cee3bd59b12be5c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 */
},

0 comments on commit dadccb7

Please sign in to comment.
You can’t perform that action at this time.