Skip to content

Commit 989c2aa

Browse files
TrottBridgeAR
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 7bcc4cc commit 989c2aa

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
@@ -35,7 +35,7 @@ assert.throws(() => {
3535
nextTick,
3636
loop
3737
},
38-
{ timeout: common.platformTimeout(5) }
38+
{ timeout: common.platformTimeout(10) }
3939
);
4040
}, {
4141
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'

0 commit comments

Comments
 (0)