Skip to content

Commit

Permalink
test: increase limit again for network space overhead test
Browse files Browse the repository at this point in the history
On certain platforms, updating V8 to 7.9 made the numbers a bit higher
than the current limit.

Backport-PR-URL: #30513
PR-URL: #30020
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information
targos authored and MylesBorins committed Nov 21, 2019
1 parent f0ff2ed commit 2952c5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ process.on('exit', () => {
const bytesPerChunk =
(process.memoryUsage().rss - baseRSS) / receivedChunks.length;
// We should always have less than one page (usually ~ 4 kB) per chunk.
assert(bytesPerChunk < 600, `measured ${bytesPerChunk} bytes per chunk`);
assert(bytesPerChunk < 650, `measured ${bytesPerChunk} bytes per chunk`);
});

0 comments on commit 2952c5d

Please sign in to comment.