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>
This commit is contained in:
Bartosz Sosnowski authored and Anna Henningsen committed 2017-09-13 16:16:43 +02:00
1 parent dc1996dd1f
commit fca7e49e44
1 file changed
+1 -1
@@ -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);
}