Skip to content

Commit ac9f689

Browse files
committed
test: unflake test-vm-timeout-escape-nexttick
This wasn't failing on arm boxes, increase the `runInNewContext()` timeout a bit to make sure the code it's allowed to fail.
1 parent 7170fc9 commit ac9f689

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/known_issues/test-vm-timeout-escape-nexttick.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const NS_PER_MS = 1000000n;
1313
const hrtime = process.hrtime.bigint;
1414
const nextTick = process.nextTick;
1515

16-
const waitDuration = common.platformTimeout(100n);
16+
const waitDuration = common.platformTimeout(200n);
1717

1818
function loop() {
1919
const start = hrtime();
@@ -38,7 +38,7 @@ for (let i = 0; i < 4; i++) {
3838
nextTick,
3939
loop,
4040
},
41-
{ timeout: common.platformTimeout(10) },
41+
{ timeout: common.platformTimeout(100) },
4242
);
4343
}, {
4444
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',

0 commit comments

Comments
 (0)