Skip to content

test: fix zlib round-trip test parameters - #66836

Open
lluisemper wants to merge 1 commit into
nodejs:mainfrom
lluisemper:test-zlib-round-trip-parameters
Open

lluisemper wants to merge 1 commit into
nodejs:mainfrom
lluisemper:test-zlib-round-trip-parameters

Conversation

@lluisemper

Copy link
Copy Markdown
Contributor

With PUMMEL=1, the round-trip test includes windowBits: 8 for gzip, which throws ERR_OUT_OF_RANGE. This change skips that invalid combination; a separate assertion already verifies its rejection.
It also passes chunkSize to the constructors so the selected buffer sizes are actually exercised.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Oct 18, 2026
Skip gzip with windowBits set to 8 in the PUMMEL matrix, since gzip
requires a value of at least 9. Rejection of 8 is tested separately.

Pass chunkSize to the compression and decompression constructors so
the buffer sizes selected by the test are actually exercised.

Signed-off-by: lluisemper <58423269+lluisemper@users.noreply.github.com>
@lluisemper
lluisemper force-pushed the test-zlib-round-trip-parameters branch from 2ef1ebe to 2a682b6 Compare October 18, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants