Skip to content

Commit 8457895

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 8457895

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ 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(150n);
1717

18-
function loop() {
18+
function loop(a) {
1919
const start = hrtime();
2020
while (1) {
2121
const current = 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(50) },
4242
);
4343
}, {
4444
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',

0 commit comments

Comments
 (0)