Skip to content

Commit

Permalink
test: unflake test-vm-timeout-escape-nexttick
Browse files Browse the repository at this point in the history
This wasn't failing on arm boxes, increase the `runInNewContext()`
timeout a bit to make sure the code it's allowed to fail.
  • Loading branch information
santigimeno committed May 22, 2023
1 parent 7170fc9 commit e28f630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/known_issues/test-vm-timeout-escape-nexttick.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const NS_PER_MS = 1000000n;
const hrtime = process.hrtime.bigint;
const nextTick = process.nextTick;

const waitDuration = common.platformTimeout(100n);
const waitDuration = common.platformTimeout(150n);

function loop() {
const start = hrtime();
Expand All @@ -38,7 +38,7 @@ for (let i = 0; i < 4; i++) {
nextTick,
loop,
},
{ timeout: common.platformTimeout(10) },
{ timeout: common.platformTimeout(50) },
);
}, {
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',
Expand Down

0 comments on commit e28f630

Please sign in to comment.