Browse Source

test: adjust windows failed alloc test to V8 6.2

PR-URL: https://github.com/nodejs/node/pull/14730
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
canary-base
Bartosz Sosnowski 7 years ago
committed by Anna Henningsen
parent
commit
fca7e49e44
No known key found for this signature in database GPG Key ID: 9C63F3A6CD2AD8F9
  1. 2
      test/parallel/test-windows-failed-heap-allocation.js

2
test/parallel/test-windows-failed-heap-allocation.js

@ -10,7 +10,7 @@ const { exec } = require('child_process');
if (process.argv[2] === 'heapBomb') {
// heap bomb, imitates a memory leak quickly
const fn = (nM) => [...Array(nM)].map((i) => fn(nM ** 2));
const fn = (nM) => [...Array(nM)].map((i) => fn(nM * 2));
fn(2);
}

Loading…
Cancel
Save