Skip to content

Commit fca7e49

Browse files
bzozaddaleax
authored andcommitted
test: adjust windows failed alloc test to V8 6.2
PR-URL: #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>
1 parent dc1996d commit fca7e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { exec } = require('child_process');
1010

1111
if (process.argv[2] === 'heapBomb') {
1212
// heap bomb, imitates a memory leak quickly
13-
const fn = (nM) => [...Array(nM)].map((i) => fn(nM ** 2));
13+
const fn = (nM) => [...Array(nM)].map((i) => fn(nM * 2));
1414
fn(2);
1515
}
1616

0 commit comments

Comments
 (0)