Skip to content

Commit 07d55c7

Browse files
committed
Finally
1 parent 43f4a35 commit 07d55c7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/parallel/test-worker-nearheaplimit-deadlock.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ if (isMainThread) {
1212
};
1313

1414
const worker = new Worker(__filename, opts);
15-
const arr = [];
16-
for (let i = 0; i < 15000000; ++i) {
17-
arr.push('num.' + i);
18-
}
19-
2015
worker.on('error', common.mustCall((err) => {
2116
assert.strictEqual(err.code, 'ERR_WORKER_OUT_OF_MEMORY');
2217
}));

0 commit comments

Comments
 (0)