Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
santigimeno committed May 7, 2021
1 parent 2c85a26 commit 43f4a35
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/parallel/test-worker-nearheaplimit-deadlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { isMainThread, Worker } = require('worker_threads');

if (isMainThread) {
const opts = {
// eval: true,
resourceLimits: {
maxYoungGenerationSizeMb: 0,
maxOldGenerationSizeMb: 0
Expand All @@ -19,9 +18,6 @@ if (isMainThread) {
}

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

0 comments on commit 43f4a35

Please sign in to comment.