From 2550ddb04909f19068e947a18681e6c675346e42 Mon Sep 17 00:00:00 2001 From: "Ben L. Titzer" Date: Mon, 1 Jul 2019 15:09:56 +0200 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/28492 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- test/sequential/test-net-bytes-per-incoming-chunk-overhead.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-net-bytes-per-incoming-chunk-overhead.js b/test/sequential/test-net-bytes-per-incoming-chunk-overhead.js index 8f766e8c7a4106..c2275b570ca08e 100644 --- a/test/sequential/test-net-bytes-per-incoming-chunk-overhead.js +++ b/test/sequential/test-net-bytes-per-incoming-chunk-overhead.js @@ -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 < 512, `measured ${bytesPerChunk} bytes per chunk`); + assert(bytesPerChunk < 600, `measured ${bytesPerChunk} bytes per chunk`); });