Skip to content

Commit

Permalink
Finally
Browse files Browse the repository at this point in the history
  • Loading branch information
santigimeno committed May 7, 2021
1 parent 43f4a35 commit 07d55c7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/parallel/test-worker-nearheaplimit-deadlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ if (isMainThread) {
};

const worker = new Worker(__filename, opts);
const arr = [];
for (let i = 0; i < 15000000; ++i) {
arr.push('num.' + i);
}

worker.on('error', common.mustCall((err) => {
assert.strictEqual(err.code, 'ERR_WORKER_OUT_OF_MEMORY');
}));
Expand Down

0 comments on commit 07d55c7

Please sign in to comment.