From 278aae28e14da89e6bd6d91c07ded2dc5f8fe8c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 22 May 2020 13:22:09 -0400 Subject: zlib: add `maxOutputLength` option Fixes: https://github.com/nodejs/node/issues/27253 PR-URL: https://github.com/nodejs/node/pull/33516 Reviewed-By: Anna Henningsen --- test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js') diff --git a/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js b/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js index c1765eec29..6a59ad34b0 100644 --- a/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js +++ b/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js @@ -11,7 +11,7 @@ const assert = require('assert'); // large Buffers. const buffer = require('buffer'); const oldkMaxLength = buffer.kMaxLength; -buffer.kMaxLength = 128; +buffer.kMaxLength = 64; const zlib = require('zlib'); buffer.kMaxLength = oldkMaxLength; -- cgit v1.2.1