Skip to content

Commit a30f5a0

Browse files
Trottcodebytere
authored andcommitted
test: fix flaky test-vm-timeout-escape-nexttick
Increase the VM timeout. If it is too small, the VM does not exit before the code has a chance to create the problematic condition that causes the timeout to be ignored. Fixes: #24120 PR-URL: #24251 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 1bceb9d commit a30f5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ assert.throws(() => {
3333
nextTick,
3434
loop
3535
},
36-
{ timeout: 5 }
36+
{ timeout: 10 }
3737
);
3838
}, {
3939
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',

0 commit comments

Comments
 (0)