diff options
author | Ben L. Titzer <titzer@google.com> | 2019-07-01 15:09:56 +0200 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:10:28 +0200 |
commit | 499969db9e13eb2d43fac9e82ea98314038968ab (patch) | |
tree | 327fc202cb1406ff820856119786ebf89d1faded /test | |
parent | 1f0fd1bb789362a68e58cc5d2e9c0abb2658d2c5 (diff) | |
download | android-node-v8-499969db9e13eb2d43fac9e82ea98314038968ab.tar.gz android-node-v8-499969db9e13eb2d43fac9e82ea98314038968ab.tar.bz2 android-node-v8-499969db9e13eb2d43fac9e82ea98314038968ab.zip |
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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/sequential/test-net-bytes-per-incoming-chunk-overhead.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 8f766e8c7a..c2275b570c 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`); }); |