Commit e5b8c617 authored by Michaël Zasso's avatar Michaël Zasso Committed by Antoine du Hamel
Browse files

test: guard large string decoder allocation

Use common.enoughTestMem to avoid "Array buffer allocation failed"
error on low memory devices.

Fixes: https://github.com/nodejs/node/issues/36792

PR-URL: https://github.com/nodejs/node/pull/36795


Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: default avatarPooja D P <Pooja.D.P@ibm.com>
Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
parent ca86e34f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment