Skip to content

Commit 2550ddb

Browse files
Ben L. Titzeraddaleax
Ben L. Titzer
authored andcommitted
test: increase limit for network space overhead test
This test imposes a limit on the average bytes of space per chunk for network traffic. However this number depends on VM implementation details, and upcoming changes to V8's array buffer management require a small bump to this limit in this test. PR-URL: #28492 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 056b0bd commit 2550ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-net-bytes-per-incoming-chunk-overhead.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ process.on('exit', () => {
3737
const bytesPerChunk =
3838
(process.memoryUsage().rss - baseRSS) / receivedChunks.length;
3939
// We should always have less than one page (usually ~ 4 kB) per chunk.
40-
assert(bytesPerChunk < 512, `measured ${bytesPerChunk} bytes per chunk`);
40+
assert(bytesPerChunk < 600, `measured ${bytesPerChunk} bytes per chunk`);
4141
});

0 commit comments

Comments
 (0)