Skip to content

Commit

Permalink
test: fix common.enoughTestMem
Browse files Browse the repository at this point in the history
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 targos committed Jan 14, 2020
1 parent 334fcbe commit 734b550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/index.js
Expand Up @@ -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 */
},

Expand Down

0 comments on commit 734b550

Please sign in to comment.