Skip to content

Commit c29b687

Browse files
santigimenoMoLow
authored andcommitted
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. PR-URL: #48078 Fixes: #43931 Fixes: #42496 Fixes: #47715 Fixes: #47259 Fixes: #47241 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent 715cf81 commit c29b687

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

+2-2
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)