mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
Buffer.allocUnsafe() can throw ERR_MEMORY_ALLOCATION_FAILED under memory pressure. Accept it alongside the V8 allocation-failure message so the tests take their intended low-memory skip. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66887 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>