test: bump test-bootstrap-modules.js limit

PR-URL: https://github.com/nodejs/node/pull/26520
Fixes: https://github.com/nodejs/node/issues/26528
Refs: https://github.com/nodejs/node/pull/25594
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Joyee Cheung 2019-03-08 15:59:59 +01:00 committed by Refael Ackermann
parent 4d89fcc6d6
commit 4fe66a3c7f

View File

@ -10,7 +10,7 @@ const assert = require('assert');
const isMainThread = common.isMainThread;
const kCoverageModuleCount = process.env.NODE_V8_COVERAGE ? 1 : 0;
const kMaxModuleCount = (isMainThread ? 64 : 86) + kCoverageModuleCount;
const kMaxModuleCount = (isMainThread ? 65 : 87) + kCoverageModuleCount;
assert(list.length <= kMaxModuleCount,
`Total length: ${list.length}\n` + list.join('\n')