Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite28f630

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 parent7170fc9 commite28f630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎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
consthrtime=process.hrtime.bigint;
1414
constnextTick=process.nextTick;
1515

16-
constwaitDuration=common.platformTimeout(100n);
16+
constwaitDuration=common.platformTimeout(150n);
1717

1818
functionloop(){
1919
conststart=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)

[8]ページ先頭

©2009-2025 Movatter.jp