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 committed Dec 20, 2019
1 parent c68ecee commit 118b28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
},

Expand Down

0 comments on commit 118b28a

Please sign in to comment.